Add multiple metrics functions

As discussed here: https://github.com/praekelt/go-jsbox-metrics-helper/pull/5#issuecomment-56868126
What if we made the definition look like the other functions? So ``{action: 'start', state: 'foo'}``? It's less concise, but it makes the whole API consistent. Thoughts?