Improved: install.sh; Added: paths supporing multiple versions of IntelliJ preferences folder.

Having IntelliJ Idea 12 CE, I found my preferences folder was located in different path:
~/Library/Preferences/IdeaIC12

install.sh still supports previous path.