Implemented function buxton_direct_get_key_type and get_key_type_for_layer.

Also added a dummy function for get_key_type in gdbm.c that just
populates data with UINT32 representing a FLOAT type.