[#118] Add test runner hook to support --test flag.
[#118] Add mobile-spec to tests/ directory.
[#118] Patch cordova.js to fix loading with tests/.

cordova.js failed to lookup and load cordova_plugins.js.
This issue was solved between 3.4.0 and 3.5.0 with
commit 799eed5f90a2e332d9f90257a7b4faf29ddcebe3.
[#118] Support both --test and --tests.
[#118] Restore tests/main.js to original file.

This will cause the splash screen to never hide. We will fix this
in the next commit.
[#118] Allow test-runner to auto-patch tests.
[#118] Document the --test flag in README.md.