DatabaseImportHelper implementation checkpoint. Added method to import
domains.

Minor fix on Role and RoleWidget classes.

Minor fixes on domain and role catalog queries.