Refactor Buffer::get_word_index
Refactor Buffer::get_word_index

Split get_word_index out into different methods:

- get_word_index_forward
- get_word_index_backward
- get_word_index_absolute

Each one corresponding to a field inside Offset.

gchp/iota,jadnohra/iota,crespyl/iota