options.prettyPrint can now be a function for custom pretty printing

If options.prettyPrint is a function, meta will be run through it before appending to output; otherwise we fall back to normal prettyPrint behaviour.