Merge of new validator with tests

Per @gvwilson request (issue #34).
Can the opening docstring please include a line about how to install CommonMark, since it isn't part of the standard Python Library?