Override dev/device parameter with the query string (bug 1060062)

https://bugzilla.mozilla.org/show_bug.cgi?id=1060062

This will allow /discovery to execute a search for desktop apps only while not affecting anything else (since the UX to allow the user to change how their searches are filtered is still in flux)