Added JAVA_HOME export for BV, and moved git_completion to generic OS X block