Add support for building an iOS 8 dynamic framework

As requested.

Usage:

 1. Build with `sh build.sh ios-dynamic`
 2. Add `build/ios-dynamic/Realm.framework` to the application project
 3. Add `libc++.dylib` to the 'Link Binary With Libraries' build phase
 3. Add a 'Copy Files' build phase, set destination to 'Frameworks', and add `Realm.framework`

@alazier @jpsim @timanglade