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
tested some of lars changes, we found out that we need to back port some plsql for 4.6.3. see bcms-compat.sql. i have also spotted a change behaviour on bcms::item::get_item_by_url