Use $.fn.offset instead of .position to calc caret position correctly
[Fix #30 #64] Add appendTo option