Fix hyperlinks containing matched pairs of underscores incorrectly processed as italics

closes #1501
- Added unit test for hyperlink with matched pair of underscores
- Added URI regex
- Escape underscores in hyperlinks