Add reftex support for pandoc, org

Also, Refactor mode hooks into single lambda functions, remove redundant
function calls