Fix sbt-java7 on mac, add some bin scripts and defs for starting emacs