Add subscripting support for iOS 5 and consolidate support macros/categories.
Expose -[NSArray firstObject] for OS X too.
Just build on iOS < 7, as we apparently can't use XCTest.