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.