Separate the btree maximum key/value sizes from the underlying page size

Separate the btree maximum key/value sizes from the underlying page size, reference #1282.