Added key.Prev command

This adds a prev command which is needed for the merging of empty ranges.

@spencerkimball Should I add a panic when next is called on keymax?  It invalidated another test.
I think we can dispense with this check.