Added stateWarnings.

It is not connected to anything yet.
Changed type of 'readers' in Text.Pandoc, so all readers are in IO.

Users who want pure readers can still get them; this just affects
the function getReader that looks up a reader based on the format
name.

The point of this change is to make it possible to print warnings
from the parser.