Add user agent norimalization code

https://github.com/mozilla-services/heka/issues/722