[WIP] Remove unneeded, outdated platforms and applications code (bug 1022830)

https://bugzilla.mozilla.org/show_bug.cgi?id=1022830