Use shutil.which or find_executable to find path to PANDOC

Just calling `pandoc` does not work on all systems and a more preferred way is in finding the executable by python methods. This will try to find the pandoc executable it via the shutil lib or the distutil lib.