update pre-receive hook to be mostly at feature-parity with the pre-commit hook

the pre-receive hook does not yet do rspec-puppet checks, but that might be better left to something like travis CI
the pre-receive and pre-commit hooks both use the same sub-hooks for their checks