Merge pull request #636 from byorgey/master

Remove newline character from LineBreak output
Updated mediawiki writer test for `<br />` change.
Fixed typo.
Textile reader: Implemented comment blocks.
Added stateWarnings to ParserState, added warning function.

This will be used to provide warnings for things like duplicate
footnote refs and link refs.
Revert "Added stateWarnings to ParserState, added warning function."

This reverts commit 5419b504cef0cc6e1a0f3e321b2fc0a66e12db3c.
Biblio: Changed type of processBiblio.

* It is no longer in the IO monad.
* setHash uses state rather than Data.Unique.
* It takes a Style argument rather than parameters for CSL
  and abbrev filenames.
* pandoc.hs now calls the functions to parse the style file
  and add abbrevs.
RST reader:  Don't create empty definition list for metadata field lists.

Previously a field list consisting only of metadata fields (author,
title, date) would be parsed as an empty DefinitionList, which is not
legal in LaTeX and not needed in any format.  This patch fixes the
problem, which I learned of from
http://stackoverflow.com/questions/12762767/modify-variable-in-rst-with-pandoc.
LaTeX reader:  Better support for citation commands.

* Make `\cite` etc. an AuthorInText.
* Make `\footcite` etc. into citations in notes.
EPUB writer improvements.

* We now convert to XHTML before cutting into chapter-sized chunks.
  This fixes a number of problems.
* `--number-sections` now works properly.
* A proper three-level table of contents is now used in `toc.ncx`.
  There is no longer a subsidiary table of contents at the beginning
  of each chapter.
* New epub-page template without the `$title$` variable.  Titles are
  left in the chapter bodies as an initial h1.
* Closes #539.
Added MIME types for .wof and .eot.

Closes #640.
i#
LaTeX reader: Make `\noindent` inline rather than block.
LaTeX reader: Made rawLaTeXInline more flexible.

Now it will also try to parse block commands.  This is usually
what we want, given how rawLaTeXInline is used in the markdown
and textile readers.  If a block-level LaTeX command is used
in the middle of a paragraph (e.g. `\subtitle` inside a title),
we can treat it as raw inline LaTeX.
Textile reader: Fixed bug with list items containing line breaks.

Now pandoc correctly handles hard line breaks inside list items.
Previously they broke list parsing.  Thanks to Pablo
Rodríguez for pointing out the problem.
Biblio:  Make processBiblio take a Maybe Style parameter.

If Nothing, then nothing is done.
Moved bibliography processing into readers.

Previously this was done in src/pandoc.hs, which made it difficult
for library users.

* Removed readerCitations in ReaderOptions.
* Added readerReferences and readerCitationStyle to ReaderOptions.
* Moved use of processBiblio from main program to the
  markdown and LaTeX readers.
Don't expose Text.Pandoc.Biblio.

It's no longer necessary for library users, as bibliography
processing occurs in readMarkdown and readLaTeX.
LaTeX reader: Use normal citations, not author-in-text, for fn cites.

Eventually it would be nice to use a "suppress outer parens" variant,
if citeproc-hs provides one.
Makefile: Back to using citeproc-hs repository.

The released version lacks some features we need.
Re-added Read instance for ReaderOptions.

Requires dev version of citeproc-hs.