Remove applications.Application (bug 1068591)

Work in progress, do not review.

Ref: https://bugzilla.mozilla.org/show_bug.cgi?id=1068591