Refactor the link click handler

Move it to ext.cx.tools.link.js from ext.cx.tools.translation.js

Change-Id: Ic22eaae6e10d056734bb428f7a150277fac69c78