Text.Pandoc:  Added readJSON, writeJSON to the API.

Closes #817.
Added `--filter` option.

This makes it easier to use JSON filters.  Instead of
doing

    pandoc -t json | ./filter | pandoc -f json

you can just do

    pandoc --filter ./filter