fixed a hole in the github ip restriction

Simply accessing /change_hook/github (without a slash in the end) allowed you to bypass the IP limitation. Also, the IPs in one line did not work on nginx 1.6.0.
Merge pull request #1 from minus7/patch-1

fixed a hole in the github ip restriction