Split out linting

- Move into tools directory
- Put linting into new go package mdlint
- Remove duplication between implementation, tests and client usage
- Use relative import paths
Merge pull request #385 from alphagov/lint-tools

Split out linting