add ability to set user-agent

GitHub requires that you specify your username or app name as the user-agent header, as describe here: http://developer.github.com/v3/#user-agent-required