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.
This change and the following similar change are tested as a side effect of existing tests. The app falls over without these modifications.