Shared: Added function insertMedia which is an alias for M.insert
Added note in README about pipe tables not wrapping in LaTeX/PDF.

See
http://stackoverflow.com/questions/25037357/pandoc-long-tablerows-in-markdown-pdf-documents-do-not-get-linewrap/25050474#25050474
Merge pull request #1472 from mpickering/master

Shared: Added function insertMedia which is an alias for M.insert
Merge branch 'master' of github.com:jgm/pandoc
Made MediaBag a newtype, and added mime type information to media.

Shared now exports functions for interacting with a MediaBag:

- `emptyMediaBag`
- `lookuMedia`
- `insertMedia`
- `mediaDirectory`
- `extractMediaBag`
New module, Text.Pandoc.MediaBag.

Moved `MediaBag` definition and functions from Shared:
`lookupMedia`, `mediaDirectory`, `insertMedia`, `extractMediaBag`.
Removed `emptyMediaBag`; use `mempty` instead, since `MediaBag`
is a Monoid.
Docx tests: rewrite mediabag tests.

This will allow us to test the whole mediabag (making sure, for example,
that images are added with the correct keys) instead of just individual
extracted images. We compare each entry in the media bag to an image
extracted on the fly from the docx. As a result, we only need one file
to test with.

The image in the current tests was also replaced with a smaller one.
Remove now unneeded JSON test file.
pandoc.hs:  Rewrote some of the logic for clarity.
Merge pull request #1473 from jkr/mediabag-test-2

Docx tests: rewrite mediabag tests.
Docx Reader: Single underlines are "emph"

All other underlines are ignored.
Update docx test to interpret single underline as emph.
pandoc.hs:  More code reorganization.
Merge branch 'underline-option' of https://github.com/jkr/pandoc
Make benchmarks compile again.

Additionally, fix the problem which caused one failing benchmark
to stop other benchmarks from running.
Merge pull request #1475 from Aelve/fix-benchmark

Make benchmarks compile again.
Use nfIO in benchmark instead of getLength trick.
benchmark:  use only test suite for benchmark.

This way the benchmarks don't take so long to run.
Bump aeson upper bound.
Text.Pandoc.SelfContained changes.

* mkSelfContained now takes just two arguments, WriterOptions and
  the string.
* It no longer looks in data files.  This only made sense when we
  had copies of slidy and S5 code there.
* Shared.fetchItem' is used instead of the nearly duplicate getItem.