Add APPLICATION parameter to all jobs

This adds the app parameter to functional and remote for nightly so far and triggers 2 jobs when we have Win 8.1, one for firefox and one for metrofirefox.
Since we didn't backported the library so far, I figured we don't want changes to aurora/beta just yet.
I've used Cosmin's patch.