Ditch out the port from the test and replace it by a mock
Refactor the hangup scenarios
Fix jshint errors
Reset the port postEvent spy to have more readable tests
Add more accurate assertions for postEvent spys
Merge pull request #102 from mozilla/hangup-refactoring

Hangup refactoring
Merge branch 'master' into fix_frontend_tests
Remove now unnecessary stubs which are duplicates of existing ones.