Add metrics to user-api

This uses the user-api-client to get to the metrics system, but thanks to hakken, the coupling between user-api and user-api-client is very loose; while this change depends on client, client doesn't explicitly depend on user-api.

@cheddar -- seem OK to you?