Add a pre-commit hook to check tests and docs where appropriate.
Merge pull request #800 from Cadair/pre_commit

Add a pre-commit hook to check tests and docs where appropriate.