Fixes #104

In the change from Ruby 1.8 to Ruby 1.9 we forgot to correct offsets
into character offsets. String now uses characters to seek/slice, so we
publicly return character offsets, while internally working with byte
offsets. This is a change that may well introduce a few bugs.