swap \n for \000, update len check, when reading receive-pack input
Merge pull request #79 from compressed/null_handling

swap \n for \000, update len check, when reading receive-pack input
Merge branch 'master' of github.com:gogits/gogs