just take major version
handle insert(text, {})
handle retain(length, {})
Make transform interfaces more consistent

transform() and transformPosition() now both return the argument
tranformed
fix slice implementation
Do not modify passed in objects
bump version