add core APIs for creating and fetching a metric

Creating a metric is done as a conditional update (Cassandra's light weight
transaction) so as to give clients a way to ensure that there are no naming
collisions with metric names.

This commit also includes a minor terminology change. I have replaced
attributes with meta data.