Improve machine creation and unit placement.
Merge pull request #363 from frankban/ghost-machine

Implement an db.machines.addGhost method, used
to create new ghost machines/containers.

Ghost machine creation is then handled by
machine view panel code: when a new machine must be
created the view now is responsible for adding the
new model instance and for executing the corresponding
env/ecs call.

Some docstring drive-by fixes.

QA:
- make devel;
- use the mv flag;
- disable the simulator;
- drag a service and then switch to machine view;
- drag the unplaced unit token on the "Create Machine" header;
- you should see a new0 ghost machine in the machines column;
- click deploy and confirm;
- now you should see a machine 0 in the machines column. 
  Note that the sometimes unit seems not to be there, but it's 
  displayed in "Bare metal" if you click the machine token.
  Switching to service view and back to the machine view seems
  to fix this issue, which fix is outside of this branch scope.
- done, thank you!