Updated the project to only support iOS 6+ now. Also ported all the
unit tests over to XCTest so that the project can be used in a more
modernised project. Xcode5+