Better parsing of emphasis and strong elements

- Regex is based on original Perl regex.
- Added more tests.

http://www.webmonkey.com/2010/02/using_regex_in_perl/#Using_Markdown