Support newest base and pandoc

Minimum required pandoc version is now 1.12 (was 1.9) due to API changes.