Start moving non-android specific classes into a normal java jar.

This will enable us to run unit tests on a normal jvm, which is much
faster than the emulated android jvm.