Merge pull request #89 from indykish/master

Merge all the bug fixes.
Let us support gogs.io private github. Don't know its scalability yet.
Merge remote-tracking branch 'origin/master'