Fix for selectionStart == 0
add test to test insert at caret with empty textarea
Merge pull request #6 from marexandre/master

Fixing tests for selectionStart == 0