Add support for passing a charm/bundle id as a deploy-target query parameter

You can now add a query parameter `deploy-target` with the value a charm or bundle id to the url when loading the GUI to automatically deploy the charm or bundle to the environment.
Driveby for another spurious test failure fix