Fixing AEROGEAR-908 - server side contract of the 'id' was changed to be 'username'
Adding unit test for controller components.
Adding JSON parsing of result from otp call.
Changing AGControllerBaseURL to controller-aerogear.rhcloud.com.

- also removed commented out code
Updates after feedback on PR.
1.0.0 usage