Remove dependency on app config for markdown instance

The usage of app config allowed the behavior of a markdown instance to
be modified during the application's lifecycle. Once the markdown
extension is instantiated, its behavior should not be modifiable.

* Apply PEP8
* Clean up test state with injection of fixture
* Update a few docs