removed various bugs in insert functions
* renamed get_db_info to db_info
* new functions get_db_info(db) and get_col_info(db, col) that return the description of the according database or collection