Massive changes to Flask-FlatPages, preparing to 0.4 release:

* Implement ``FLATPAGES_MARKDOWN_EXTENSIONS`` config.
* Several PEP8 fixes.
* Fixes to tests to run on Mac OS X.
Update docs to cover latest changes.
Bump version number.