[WIP] work on automating deployment

This should allow us to release in very few steps:
1. `sh build.sh set-version 0.81.0`
2. `git tag 0.81.0`
3. `sh build.sh prepare-release xcpretty`
4. `sh build.sh deploy-release`

Split up release into two steps: preparation and deployment.

Remaining:

1. Change `sh build.sh build "$XCMODE" || exit 1` to test instead
2. Move examples in accordance with [this structure](https://github.com/realm/realm-cocoa/pull/631#issuecomment-49680698)
3. Update framework path in all example projects

@emanuelez @bmunkholm