Added support for arbitrary folds through special comments.

Some tweaks in initialization.
Adding support for pdc exension

Fixes issue #1.
Adding support for pandoc 1.10 + syntax changes