Various cursor improvements.

 * Don't use mdb_ namespace for our helper functions, now use 'pymdb_'.
 * Simplify self._valid (nee self._positioned) management, allowing
   cleaner forward() and backward() implementation, and simplification
   of the iterator loop. Now iterators really absolutely always use
   present Cursor state.