Make `npm test` work.
Extract an app-watcher.
Some renaming.
Remove watcher, all code went into deviceorientation app.
Add doWhenStalled and refactored timing into isStalledSince().
Test doWhenStalledForGivenTime() so we can use it from the outside (and mock it).
Let's use a mock again and mock the public function that calls something when the app stalls.