Added support for Xcode 5.1.

Xcode 5.1 requires non-GC to build. Used the migrator to migrate the code to ARC.

If you still want MRC, I can do a separate PR.