s/IsAction/IsValidAction/
s/IsNetwork/IsValidNetwork/
s/IsMachine/IsValidMachine
s/IsService/IsValidService/
s/IsUnit/IsValidUnit/
s/IsUser/IsValidUser/
Update charm and names dependencies.
Move user manager types to state/api/usermanager.

Making way for UserInfo as defined in the identity spec. Moving
usermanager RPC types to the client package to avoid conflicts.
Move usermanager types, ModifyUser to apiserver.
Merge pull request #343 from howbazaar/valid-names

Update for new valid names in names package.
Clean up imports.
Merge pull request #344 from cmars/id_usermanager_refactor

usermanager types refactoring

Relocating usermanager-specific API param types. We want to introduce a UserInfo type for login API purposes which conflicts with a usermanager-specific structure with the same name but different purpose.

Relocating the type to the apiserver subpackage to keep the type out of a common ever-growing state/api/params package.
state: only update API host ports if changed

If the API host ports haven't changed, don't
update them. This avoids spamming the transaction log
with unnecessary writes.

Fixes https://bugs.launchpad.net/juju-core/+bug/1345832
state: handle concurrent calls to SetAPIHostPorts