Added script for packing/deploying new release. Moved all scripts to tools.
Artifacts now automatically release to BinTray. Cleanup error messages. Better check for state of repository before executing rest of script.
Fixed potential problem with whitespace in dir names.
Fixed cross platform sed issues. Properly detect presence of realm.io dir.
Merge pull request #604 from realm/cm-automatic-deployment

Release script for automating releases.