Merge pull request #30 from liuhewei/master

Support github public and github enterprise in the same time