Support for customising the useragent.
This is needed to nicely use the MediaWiki API.
Removed unused 'Request' class
Merge pull request #16 from eug48/master

Support for customising the useragent and remove unused Request class