Add IsLXCSupported()
Added tests

Added tests for the following cases:

* Mallformed cgroup file
* Missing cgroup file
* system juju is running on is not linux
use filetesting
Responded to feedback
Refactor the UserManager and commands.

This branch adds consistency to the UserManager.
Primarily around the use of tags to pass the usernames.
Also untangles the API client from the server that was
there with the user manager structs being defined in the
apiserver package (not params).

The commands have been hooked up, and tested manually.

There were several clear changes needed when testing:
 * until we have multiple environments, creating a user
   should cause that user to have access to the environment
 * when adding a user, we should always write out the jenv
   file (until the user is able to login and see themselves)
 * the remove user command has been renamed to disable,
   as it wasn't removing the user at all (this is still todo)
Merge branch 'user-manager-tag-redux' into juju-user-list
Add a method to state to get all the users.
Add apiserver changes to return all users.
Add a list command for users and hook it up.
Provided better error for unit hosting on state server.
Make pre-push hook a little more friendly

 * If deleting a remote branch; don't do the full verification pass.
 * If there are no changes to push, don't do the full verification pass.
 * If there are unstaged or uncommitted changes then the verification
   pass doesn't really help, so prevent pushing when there are unstaged
   or uncommitted changes.
 * If there are no .go files in the changelist, skip full verification
   pass.
Provided better error for unit hosting on state server.
Bug 1378792
Refactored common functionality to base struct based on review comments.
Bug 1378792
Noted tech-debt bug.
Bug 1378792
Merge pull request #913 from anastasiamac/Bug1378792-friendly-error-message

Provided better error for unit hosting on state server.

http://reviews.vapour.ws/r/174/

Added 2 tests to exercise additional paths - TestAssignStateServerNonLocalCannotHostUnits and TestAssignStateServerLocalCannotHostUnits.
Cleanup TODO comments
Merge pull request #924 from johnweldon/actions-apiserver-auth

Cleanup TODO comments

Unneeded TODO comments, and a couple TODO comment tweaks
(The authorization check when creating the actions facade covers all our authorization needs)
maas: static-ipaddresses capability detection
Move actual verification script to it's own bash file to facilitate non hook use
Merge pull request #925 from dimitern/maas-provider-static-ipaddresses-cap

maas: static-ipaddresses capability detection

Now the environment capability SupportsAddressAllocation
actually uses the MAAS version API to check if the needed
"static-ipaddresses" capability is supported. Bumped the
gomaasapi revision in dependencies.tsv.