Add user-agent logging

This uses the [`useragent` NPM module](https://github.com/3rd-Eden/useragent) to parse a user's browser agent in the request. Tests have been updated to expect this as a default option.