Converted the ghost viewlet into a Y.View.
Fixed failing tests from the ghost config viewlet to view conversion.
Merge pull request #166 from hatched/ghost-to-view

Notes
-------
The viewlet was converted to a view but there is still a few methods which needed to stay in the inspector.js file because the dom elements are rendered by the viewlet manager not the view. This will be fixed when we have our inspector subclasses.

To QA
---------
Exploratory QA on the ghost inspector (if there is a button/interaction, try it)
Converted the service relations viewlet to a view.
Fixed failing tests from the service relations viewlet to view conversion.
Moved the remove relation event handling into the relation inspector view
Sandbox mode addMachines API.

Implement the fake addMachines call, using
the error messages as returned by juju-core.

Include in the machine model some basic
container/machine number info which can
be parsed from the machine name.

Clean up the destroyMachines sandbox call.

Fix the go environment addMachines API call:
errors for specific machines are now
correctly handled (including error codes).

No QA needed.
Merge pull request #168 from hatched/relation-to-view

To QA
--------
- Deploy two relatable services.
- Open one of their inspectors to the relation tab. It should show that it has no relations.
- Create a relation, after a few seconds the relation should show up in the inspector.
- Switch to the other inspector and the relation should be there.
- Remove the relation and it should disappear from the relation list.
Merge pull request #167 from frankban/add-machines-sandbox

Sandbox mode addMachines API.

Implement the fake addMachines call, using
the error messages as returned by juju-core.

Include in the machine model some basic
container/machine number info which can
be parsed from the machine name.

Clean up the destroyMachines sandbox call.

Fix the go environment addMachines API call:
errors for specific machines are now
correctly handled (including error codes).

No QA needed.