[WIP] Remove applications.Application (bug 1068591) RELOADED

Fixes [bug 1068591](https://bugzilla.mozilla.org/show_bug.cgi?id=1068591)

This is based of PR #285 and takes off from there to fill in for the few little
things missing.
this parameter wasn't used anywhere in the code, so we took the opportunity to remove it ;) Small cleanup is still cleanup, right? :)