How about having the app client code and the test code at the same place?

DO NOT MERGE!

So we have app [here](https://github.com/sebv/DynamicApp) which is able to download code on demand and run it. The app is a Titanium Alloy app so it is written in Javascript and can be deployed on android, iOS, and Web.

Because it's all JS, we can write the client code in the mocha `before` and clean it in `after`, and create the native UI element we need for the following test.

I got it working in iOS, to try run this:
```
DEVICE=ios81 mocha test/functional/titanium-alloy/touch-specs.js
``` 

This could potentially replace 90% of our tests, preventing us having to fiddle with multiple test application. 

Also the test suite would run faster, since the app itself does nothing, this is easily recyclable for the next test.