MB-11470 Allow fdb_iterator_seek to seek backwards

Re-positions cursors in main index and wal based on seek_key
in any direction, remembering user's current direction of iteration!
Test cases for terminal turn back and backward seek
Change-Id: Ib9149b9ec32a725e67a813bc6162c4bb2715c507