Apply Genymobile checkstyle and gradle build files organization.
The server is not a real Android application, it's just a jar with a main method. Instrumented tests are meaningless in this context.
To simplify the device server-side build, use gradle to create an APK, even if we use it as a simple jar, by running its main() method.