Small bug fixes and linting

- Fix undefined variables
- Don’t let Python 3 try and call undefined unicode
- Fix lint warnings
Place markdown abstraction in markdown_wrapper
Upgrade markdown to 2.4.1
Update readme with info about new extensions
Merge pull request #201 from facelessuser/master

Upgrade markdown 2.4.1