Still more BSON improvements

Finishing up the BSON support for components and cleaning up the code
for the BSON Range extension.