add tests for emphasis with links
fix #19: return immediately from link skipping if end of emphasis is found
Merge pull request #138 from KenjiTakahashi/emphasis_link

Fix for #19 + some tests for emphasis with links.