Added the deleted flag to the various models for the ecs removal flags
Hash refactor.
Tabs dispatch now.
Don't rerender details panel.
Fix uncommitted unit display.
Merge pull request #487 from jaycee/details-tabs-reload

Fix dispatching/reload errors on the charm details popout for inspector.

* Refactor dispatching to handle hashes for the charm details.
* Set up tabs dispatching.
* Setup re-rendering logic for charm details.
Merge pull request #491 from jaycee/name-uncommitted-units-right

Fix uncommitted unit display.

* When a unit is uncommitted, use it's display name.
* Don't use the displayname once the unit exists; it screws up other events
  that aren't applicable to the uncommitted unit.
Update the inspector scale up UI with the unit counts.
Update the machine view scale up UI to be in place of the header.
Merge pull request #490 from huwshimi/scaleup-ui-update

Update the machine view scale up UI to be in place of the header

Updated the machine view scale up UI to replace the header as per the new designs.
Merge pull request #486 from huwshimi/uncommitted-label

Update the inspector scale up UI with the unit counts

In the inspector the unit it counts are now show, including the uncommitted count. A bug where the label was not being pluralised has now also been fixed.
Added tests for new deleted flag in models
Merge pull request #492 from hatched/add-deleted-flags

Add deleted flags to models from ecs

The UI needs to indicate to the user when there is a 'delete me' record in the ecs. This adds those attributes to the appropriate calls.
Allow removing multiple units through the ECS
Merge develop to avoid conflict
Test fixed after merge.
Use the existence of pending rather than the absence of config.
Check for charm as part of executing retry loop.
Merge pull request #497 from jaycee/check-for-charm-retry

Check for charm as well as service before rendering insepctor

* Use existing retry loop code
* Require charm to be available as well as service (ie model) before rendering
* Drive-by: use the existence of "pending" rather than absence of "config" to
  determine the type of inspector to render.
Fixed container counts updating.