Fixes #9 - Switching Environments Loses Custom HttpStack.

Also upgraded to latest SDK build tools and gradle plugin.
Changing visibility of mStack to match other members.
Merge pull request #12 from emilesvt/master

Switching Environments Loses Custom HttpStack