More effective install-time workaround for Java.

* Use `ln` and `PlistBuddy` to establish JDK 7 as the system Java
* Use current Java version for linking current JDK
* Properly clean up after uninstall
Merge pull request #2823 from zwaldowski/zwaldowski-java-magic

More effective install-time workaround for Java