added support for setting metric credentials on the service

removed credentials from metric to metricBatch
renamed updatemetriccreds to set, added test, other review comments
Use a new client for the download call.
Add a comment about why we are using a new API client for download.
Actions :: EnqueueAction requires actionName

Make sure the action has a name before enqueuing it.
review feedback
Add a todo comment.
Merge pull request #1275 from ericsnowcurrently/backups-fix-api-conn

Use a new client for the backups download call.

Apparently an API client is good for only one connection.

(See http://juju-ci.vapour.ws:8080/job/functional-ha-backup-restore/1190/console.)

(Review request: http://reviews.vapour.ws/r/590/)
params.BackupsMetadataResult.UpdateFromMetadata -> apiserver/backups.ResultFromMetadata.
Merge pull request #1264 from ericsnowcurrently/backups-break-cycle

Drop an import-cycle-waiting-to-happen from apiserver/params.

Factor out the UpdateFromMetadata method of params.BackupsMetadataResult into apiserver/backups as ResultFromMetadata. This helps avoid the possibility of import cycles with anything backups imports since apiserver.params is imported in all sorts of places you wouldn't expect.

(Review request: http://reviews.vapour.ws/r/578/)
Merge pull request #1242 from mattyw/metric-credentials-api

added support for setting metric credentials on the service

removed credentials from metric to metricBatch

(Review request: http://reviews.vapour.ws/r/553/)
Merge pull request #1239 from johnweldon/5-enqueue-action-requires-name

Actions :: EnqueueAction requires actionName

Make sure the action has a name before enqueuing it.

Trivial change just ensuring that a new action actually has a name.

(Review request: http://reviews.vapour.ws/r/550/)
Convert funcs to vars for monkey patching
Actions :: Enhance TestFindActionTagsByPrefix
Move tests to state package, address reviewer feedback
Not ready to expose nowToTheSecond yet; document and make private again
group all vars, consts, and types together
remove one word comments