Fixed issue with new paragraph tag, updated corresponding test
Rewritting parser using automaton

Added parsing plain text
Added parsing code
Added parsing paragraphs and escape symbols
Added parsing 'em' tags
Added parsing of strong tags
Added tests for tricky cases

Checking priorities, nesting, overlapsing.
Merge branch 'automaton'