Refactoring of SenderClient and JavaSender.

This PR builds upon https://github.com/aerogear/aerogear-unifiedpush-java-client/pull/39 with suggestions for refactoring the JavaSender and SenderClient.