Only show create container if a parent id is set
Refactored autodeploy into class extension.
Added tests.
Added tests: take two.
Lint and QA tweaks.
Merge pull request #502 from makyo/add-container-active

Only show create container if a parent id is set

The user should not be able to create a new container without a machine selected.
Merge pull request #503 from kadams54/autodeploy-mixin

Extract autodeploy functionality out for use in multiple widgets.

Refactor the autodeploy code out so that it can be used by both the machine view panel (as it is currently) and the deployer bar, which will need it to allow users to autodeploy unplaced units at deploy confirmation time.