Fixed the issues module.

* Added a user-agent header as per requirement from GitHub.
* Added a check for the http response code, only try parsing message if result was OK.
Merge pull request #64 from verath/issuesModuleFix

Fixed the issues module.