Add performance tests for all of the benchmarked things (and a few others)
Add support for running Objective-C tests on devices

Swift tests are exploding horribly on iOS 7.0, and I have been unable to
get Xcode to actually deploy working apps to iOS 8.0, so no swift
testing on devices for now.
Build in release mode when running tests on a device

Performance numbers for debug builds aren't very interesting.
Merge pull request #758 from realm/tg-device-tests

Add some performance tests and support for running them on devices
Speed up setting the className method for accessor classes

For whatever reason class_addMethod is absurdly faster than
class_replaceMethod, and the name of an accessor'ss base class can never
change, so we don't need to be using replace. Makes creating new RLMRealm
instances roughly twice as faster.
Throw an exception when objects are used on the wrong thread

Only enabled in debug builds so it's currently totally pointless.
Speed up RLMArrayLinkView fast enumeration

Pull some of the lookups outside the main loop as was already done for
RLMArrayTableView. Makes fast enumeration of array properties about 50% faster
and now the same speed as enumerating results.
Remove unnecessary int overflow checks

NSUInteger and size_t should always be the same size, so converting between
them can't result in an overflow. Speeds up assigning short strings to
RLMObject properties by about 20% because the compiler couldn't optimize out
the message send for getting the string length.
Merge pull request #759 from realm/tg-check-thread

Throw an exception when objects are used on the wrong thread
Allow arrays and object properties to be missing when initializing from a dictionary

Handle missing keys and NSNull values for arrays and relationships which don't
have a default specified as there's an obvious default for them and people are
confused by them being required.