Fix last element seek.
Fix last element seek.

This commit fixes a bug with seeks where seeking to a key between the end
of a page and the beginning of the next page causes it to return nil. This
was fixed by calling Cursor.next() when the cursor ends up between pages.

This also changes Cursor.Next() so that calling Next() at the end of a bucket
leaves the cursor at the end instead of zeroing out the stack.

Fixes #186.

/cc @PreetamJinka

nilslice/bolt,linearregression/bolt,tvmaly/bolt,Compasses/bolt,pspeter3/bolt,dindinet/bolt-1,tv42/bolt,boltdb/bolt,jefby/bolt,chlorm-forks/bolt,samanalysis/bolt,ngaut/bolt,raggi/bolt,etcd-io/bbolt,mr-justin/bolt,xuzhaokui/bolt,brahmaroutu/bolt,hvnsweeting/bolt,jmptrader/bolt,wyzssw/bolt,cep21/bolt,conseweb/bolt,Apsalar/bolt,btcsuite/bolt,odeke-em/bolt,mashuai/bolt,li-ang/bolt,joyrexus/bolt,dajohi/bolt,sysbot/bolt,pombredanne/bolt-2,benbjohnson/bolt,lmars/bolt,yew011/bolt