added setCaretPos function

I was using this plugin on a side project of mine, and I needed to be able to set the caret position as well as retrieve it. There are other plugins/solutions out there that solve this issue, but I figured that since this plugin is supposed to be a textarea helper, it was worth including.