[#596] Format Java source code with new settings

* It uses the Android formatter preferences
Merge pull request #597 from akvo/issue/596

[#596] Format Java source code with new settings