The charm already worked well when deployed in the bootstrap node using the 'jitsu deploy-to' command. This branch adds a test for this behavior.
Other changes:
Slightly simplified how the staging option is retrieved in the start hook.
Fixed tests by changing the juju-gui upstart configuration file. Before this change it was not possible for upstart to correctly stop the juju-gui service, because upstart itself was not able to keep track of the PID.
Fixed the install hook: it was not idempotent (and the tests were broken for this reason too).