Enforce key length constraint of 2048 bytes.

Aside from needing to enforce a constraint of some sort, this change
allows us to definitively specify KeyMax, removing the previous requirement
that keys stored in the map couldn't start with \xff.
To answer Peter's question.. Keys are generally limited length because the
performance of traversal comparisons are a product of key length, making
very long keys unusual and impractical.