Hook up the onboarding code to work with the new state system
Merge pull request #379 from hatched/fix-1328932

Hook up the onboarding code to work with the new state system

Fix for: https://bugs.launchpad.net/juju-gui/+bug/1328932

#### To QA
1. Follow the steps in the bug, onboarding should work as expected.
2. Clear local storage, visit a url with charm details, the onboarding shouldn't show.