Fix #1175 -- add support for Markdown extensions.

This is #1175.

Note I did not test creating new plugins, however it should work just fine.

Also, note I said “kill `MARKDOWN_EXTENSIONS`” before — this is impossible because we use it for eg. `fenced_code` or `codehilite`.

cc @ralsina @michaeljoseph