Workaround issue alexrothenberg/ammeter#42

Rails 4.2 has deprecated the `capture` method as it is not thread safe.
This shim worksaround the open issue on Ammeter which calls out to
`capture`.

I have no idea if this is thread safe or not.:grimacing: :unamused: