Add some performance tests and support for running them on devices

Currently only runs the obj-c tests because the Swift tests don't work on iOS 7 and running tests on iOS 8 devices seems to be broken at the moment.

@alazier