Org reader: Precise rules for the recognition of markup

The inline parsers have been rewritten using the org source code as a
reference. This fixes a couple of bugs related to erroneous markup
recognition.
Merge pull request #1226 from tarleb/org-emphasis-reader

Org reader: Precise rules for the recognition of markup