A little spring cleaning

* Update to SpongyCastle 147
* Fix a bunch of warnings
* Format code w/ Android style
* Add new test app for testing w/ tlspretense