Add script to deploy to bintray

It takes a version as a parameter and it performs a series of checks before deploying
Add more checks
Merge branch 'master' into ez-deploy-bintray
Uncomment the grade command
Merge pull request #662 from realm/ez-deploy-bintray

Add script to deploy to bintray