Refactor Javac.java into a new shared library. am: a6d7f50d36
am: a4dc19e7e6

Change-Id: Icfcd24849e794e0e1632572061e5ea48922f9150