Add multiple metrics functions

As discussed here: https://github.com/praekelt/go-jsbox-metrics-helper/pull/5#issuecomment-56868126
It would reduce this code quite a bit, because then we would just pass the object straight to the function. I think that that's the most concise way you can represent it while still being clear at describing what everything in the object is.