createLink: expand range by anchor.
Implement createLink manually.
 - fixed link bugs. #482, #428, #419, #416, #316.
Merge pull request #483 from HackerWins/feature/createlink

Implement createLink