Styled inpsector scale up ui
Merge pull request #419 from huwshimi/style-scaleup

Styled inpsector scale up ui

This adds the html/css for the new inspector unit scaleup ready for @hatched to make functional.

The classes for the four states matching the visuals can be seen in `lib/views/inspector/scale-up.less`.

Nothing to QA at this point.
A possible fix for the intermittent CI test failures
Merge pull request #420 from hatched/fix-intermittent-failure

A possible fix for the intermittent CI test failures

Because of the execution order of these tests these wrapped methods may not execute in time. Hoping the new stub system will fix the intermittent CI failures.
Display indicator on uncommitted service blocks.
Merge pull request #421 from kadams54/uncommitted-service-blocks

Display indicator on uncommitted service blocks.

Adds a blue circle icon to service blocks that haven't been committed yet.
Change to state classes rather than adding hidden class.
Merge pull request #423 from huwshimi/state-classes

Change to state classes rather than adding hidden class

Instead of adding the `hidden` class to show the correct parts of the UI, this branch tracks the state on the container, allowing the UI to be set correctly through CSS.

QA: Try placing units and creating containers and machines and check that the appropriate bits of UI are shown.
Select the first machine and bare metal container by default.
Merge pull request #424 from huwshimi/default-selected-machine

Select the first machine and bare metal container by default.

This branch selects the first machine by default when the machine view panel is opened. Additionally, when you select a machine the bare metal container is now selected by default.

QA:
- drag two charms to the canvas
- click deploy and confirm
- open the machine view panel
- the first machine should be selected and the bare metal container should be selected
- click on the unselected machine
- the containers for the second machine should be shown with the bare metal container selected
Charm details on inspector is a dispatched route.
Inspector doesn't get recreated when dispatching details.

Refactor inspector dispatching.

* Collapse local and service inspector methods into like render methods.
* Move logic regarding types of inspector to render methods.
Remove old 'inspector' method.
Merge pull request #422 from jaycee/dispatch-details

Charm details breakout panel is a dispatched view.

* renderUI can open the charmDetails viewlet.
* metadata.charm is used by state to signify if the details should be open.
* the service inspector can be dispatched to without creating a new inspector,
  so details can be viewed without resetting the inspector's state.
Hook up UI interactions for new scale-up UI

Hooked up tests for the UI interactions of the scale-up view

Simplified scale-up view interaction code to apply classes instead of manage state
Merge pull request #425 from hatched/hook-up-scaleup

Hooked up UI interactions for new inspector scale-up view

The new inspector scale up UI interactions are now functional. The follow-up will hook the UI to the back-end.
Update machine view with new hover and drop states.
Unit details breakout pane is a dispatched view.
Merge pull request #426 from jaycee/dispatch-unit-details

Unit details breakout pane is a dispatched view.

This changes the unit details breakout pane to a dispatched view, rather than simply a show/hideSlot.
Merge pull request #427 from huwshimi/hover-states-update

Update machine view with new hover and drop states

Updated with new hover and drop states as seen here: https://docs.google.com/a/canonical.com/file/d/0B7XG_QBXNwY1eF82Z3d5MllQNHM/edit

When dropping a unit on a container it would not update the token so that has been fixed also.