Added the ability to change the User-Agent

By default the user agent is the same as it was originally.

This is much more friendly to the API etiquette rules. And allows for other projects that might use this to be able to use their own User-Agent.