Add a machine token widget.
Created a request object parser to create a state object from the Y.Routers request object.
Refactored the state output as per the discussion in the PR
Changed the anchor tag to a div and updated the css
Merge pull request #226 from hatched/huwshimi-machine-token

Made some changes and re-pr.

The old PR can be found here #224
Simplified the buildSection method
Merge pull request #225 from hatched/url-state-parser

Adds another method to the state object called `parseRequest`. This method is a replacement for the current `loadRequest` method. It parses the Y.Routers request object and creates a state object which can be dispatched later. 

The generated state objects will be passed to a dispatcher which will loop through each of the primary keys and then dispatch the contents of that object to the appropriate method to render into the application.

#### No QA
Get local charm icons from the Juju API.
Update page title to function

- Name was grabbing the wrong value from the event.
- Added a test that setting a name does change the title fixing ^
- The fake backend wasn't setting a name so it was defaulting to Environment
- Changed the name to have a class to follow suit on the provider type for
consistency.
Merge pull request #228 from frankban/local-icons

QA:

Check the local charm icons are correctly displayed
when using a real env.
- juju quickstart an environment;
- switch to this branch:
  `juju set juju-gui juju-gui-source="https://github.com/frankban/juju-gui.git local-icons"`
- wait for the GUI to be ready;
- deploy local charms including an icon:
  you should see the icons are correctly displayed in the
  service blocks and inspector header;
- deploy a local charm not including an icon:
  you should see a broken image: this will be fixed
  in a follow up branch;
- deploy a charm from the store: ensure the usual icon is
  still properly displayed both in the service block and
  inspector header;
- destroy the environment.

Ensure the fallback icon is used whe deploying local
charms in sandbox mode.
- `make devel`
- deploy local charms:
  you should see the fallback icons are correctly 
  displayed in the service blocks and inspector header;
- deploy a charm from the store: ensure the usual icon is
  still properly displayed both in the service block and
  inspector header.

Done, thank you!
Merge pull request #229 from mitechie/custom-title

- Name was grabbing the wrong value from the event.
- Added a test that setting a name does change the title fixing ^
- The fake backend wasn't setting a name so it was defaulting to Environment
- Changed the name to have a class to follow suit on the provider type for
consistency.

QA

- make devel and note that the title is now "Sandbox on demonstration"
- Deploy the gui to a live environment and set the branch
    
    juju switch local
    juju-quickstart 
    juju set juju-gui juju-gui-source="https://github.com/mitechie/juju-gui.git custom-title"

Note that the title will be the environment name on the provider.
Only open service inspector if ghost inspector has not been destroyed.
test added for multiple inspectors.
Now works with previously destroyed inspectors.

Pushing reset onto cleanups.
Added the dispatcher and save state controls to the state manager
Set version for release.
Set version back to unreleased.
Added tests for the dispatching functionality
Merge pull request #231 from hatched/state-controller

#### No QA
Test added for existing inspector being destroyed.