adding queries bcms::folder::get_id_by_package_id.select_folder_id and bcms::folder::get_id_by_package_id.select_folder_id_with_parent_id that were removed from the Tcl file
change SQL on db_* calls to {}, remove bcms::folder::get_page_folder, get_image_folder, get_file_folder out since they are bcms-ui-wizard specific, added bcms::folder::is_registered_content_type, move queries of bcms::folder::get_id_by_package_id to xql files