Refactor the commonmark converter class
Fixed two typos
Removed trailing whitespace

Damn the github online editor!
Merge pull request #27 from GrahamCampbell/patch-2

Refactor the commonmark converter class