8210226: Add support for multiple project folders to idea.sh
Summary: Overhaul templating logic for idea.sh; add support for -o option
Reviewed-by: erikj, ihse
^build/
^dist/
^.idea/
nbproject/private/
^webrev
^.src-rev$
^.jib/
\.DS_Store
\.metadata/
\.recommenders/
test/nashorn/script/external
test/nashorn/lib
NashornProfile.txt
.*/JTreport/.*
.*/JTwork/.*
.*/.git/.*