Better parsing of emphasis and strong elements

 - Regex is based on original Perl regex.
 - Added more tests.