Properly handle text inserted via api calls.
Properly handle text inserted via api calls.

Previously, inserting multiple lines with the insertTextAtCursor call was breaking the timestamps.  Now, handle this the same as if someone copy and pasted a block of text in, etc.

Fixes #68.

VisionistInc/jibe,VisionistInc/jibe