added support for setting metric credentials on the service

removed credentials from metric to metricBatch
renamed updatemetriccreds to set, added test, other review comments
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/)