nbconvert.utils.pandoc:
 - reduce code duplication
 - remove obscure parameters from pandoc_available
 - use find_cmd to locate binaries
 - group runtime cached values in a private dicitonnary (easier to manipulate)

Add pandoc unittests.
code shuffling to present the API functions first, and the innards at the end of the file