Test runner: load the app in an iframe to prepare for routing tests

- the test suite will start once the app is loaded in the iframe;
- added polyfill for PhantomJS missing Function.prototype.bind;
- setup this.app for tests