[rst] Emphasis and literal highlighting fix

Ensured that emphasis (weak & strong) plus literal syntax highlighting are rendered correctly even if the highlighted word is followed immediately by a non-word character (like an interpunction):

 * ```a word **strongly emphasised**?```;
 * ```a word *weakly emphasised*?```;
 * ```a word with ``literal emphasis``?```;

Further changed recognition order to `strong`, `weak`, `literal`, `number`, `positive`, `negative` and `link` to comply more with the reStructuredText spec (see http://docutils.sourceforge.net/docs/ref/rst/restructuredtext.html#recognition-order).
[rst] Reference name fix w.r.t. "phrase-references"

Phrase-references should be able to contain interpunction characters; fixed.
Merge branch 'master' into webed