Key range iterator and related stuff

Allows pretty fast with no data-copy iteration over keys range.

TODO: now cursor is vulnerable for accessing data before getting
pointed to correct data, this should be fixed

TODO: it also might be too excessive to borrow pointer to transaction
and database so a lighter access way should be used