Set deployer heights by percent.
Hide the scale up UI when units are added.
Sort the autocomplete result set to put promoted charms and charms with the same series as the environment series at the top
Convert envSeries attribute in the charmbrowser to a callable to be able to fetch the currently set default env type
Machine view: validate series when placing units.

Define a "prepare" section on the ecs record.command:
this way it is possible to mutate the command args
right before its "runtime".

The above is used by lazyAddMachine: the new machine series
can be decided at the last minute, based on the series of
the units assigned to the machine.

Add the ability to validate the unit's placement based on the
series.

Fixed a bug preventing units to be deployed directly to
bare metal (unknown unit .../root-container).

Add some missing tests.

QA can be done in both devel and real envs.
With `/:flags:/mv/`, use the machine view.
Add machines/containers and try to co-locate
units with different series: you should see an
error notification, and the unit should refuse
to be placed.
Now deploy a precise unit to a new machine: a precise
machine should be created when changes are committed.
After that, trying to co-locate e.g. a trusty unit
in the existing precise machine should produce an
error notification.
Find and select the machine token on drop

* New method to find a machine or container token given the machine's name
* Update call sites to select the machine/container token on creation.
* Tests.
Merge pull request #458 from huwshimi/scaleup-submit

Scaleup submit

The scale up UI should hide when you add units.
Merge pull request #459 from jaycee/select-new-machine-on-service-deploy

Find and select the machine token on drop

* New method to find a machine or container token given the machine's name
* Update call sites to select the machine/container token on creation.
* Tests.
Merge pull request #457 from huwshimi/deployer-height-percents

Set deployer heights by percent

New deployer bar heights as per UX request.
Make placeUnit return an error, rather than raise an exception.
Merge pull request #462 from frankban/machine-series

Machine view: validate series when placing units.

Define a "prepare" section on the ecs record.command:
this way it is possible to mutate the command args
right before its "runtime".

The above is used by lazyAddMachine: the new machine series
can be decided at the last minute, based on the series of
the units assigned to the machine.

Add the ability to validate the unit's placement based on the
series.

Fixed a bug preventing units to be deployed directly to
bare metal (unknown unit .../root-container).

Add some missing tests.

QA can be done in both devel and real envs.
With `/:flags:/mv/`, use the machine view.
Add machines/containers and try to co-locate
units with different series: you should see an
error notification, and the unit should refuse
to be placed.
Now deploy a precise unit to a new machine: a precise
machine should be created when changes are committed.
After that, trying to co-locate e.g. a trusty unit
in the existing precise machine should produce an
error notification.
Fixed failing tests from changes and added test changes to test the sort order of the result list
Dispatch unit details for unit 0.

QA: deploy a service, click on its first unit on the inspector:
the unit detail panel should show up.
Merge pull request #464 from frankban/unit-0

Dispatch unit details for unit 0.

QA: deploy a service, click on its first unit on the inspector:
the unit detail panel should show up.
autocomplete list shouldn't try and sort bundles as they are series agnostic
Show the real service names not their ghost id's in the relation tab of the inspector.
Interface and scope are no longer shown as undefined in the inspector when relating with a ghost service
Relation popup menue now shows the real service display names and clicking on them opens up the appropriate inspector
Fixed failing tests from ghost relation display name changes
Merge pull request #463 from hatched/ac-result-sort-1348290

Sort AC search results by default series - Fixes #1348290

The charm search autocomplete now sorts the results returned from the charmstore so that the promoted charms which match the users default series for their environment are listed first.