[Fixed #68] Modified HitHub api functions return value on error.

Instead of throwing the functions from the GitHub API are now returning `{error, Reason}`.