Add centos init script

This PR adds an init script for CentOS (<= 6). It also supports reading from /etc/sysconfig/gogs if present to override the defaults put in.

It has only seen limited testing! More tests are welcome.