Fix for Github API with useragent

Github has made it mandatory for API requests to be accompanied with a meanigful User Agent header. 
http://developer.github.com/changes/2013-04-24-user-agent-required/
Also logging response in case of API failures - will make it easier to manage API changes.