Made clean_entry, delete_entry stuff, and entry codes be part of btree_type.
Made free_space be part of btree_type.
Marked a bunch of local variables in leaf node code const.