Add moveCaret() function into Core

And add ability to call Core function from any addons by adding a getCore() function.

Related to #117
Merge pull request #120 from j0k3r/core-move-caret

Add moveCaret() function into Core