Adding support for custom user agents

Added support for custom header on both urllib2 and requests, default user agent can be found in the consts but can also be appended when instantiating the API class.