Fix typos & deprecations
Merge branch 'master' of http://github.com/Realm/realm-cocoa into gk-browser-navigation-workaround
Merged primary master