Add moveCaret() function into Core

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