Add support for HTTP User-Agent header

reddit has requested that clients using the API set a unique User-Agent header. This patch adds a $userAgent property and a setter; if the user calls setUserAgent(), the string they supplied will be passed to cURL.