CORE-5832 Initial kameleon refactor for new schema.

Upgraded korma to 0.3.2.
Removed (entity-fields) from kameleon.entities since queries using these entities sometimes expect returned fields that are not listed in the entity-fields, but the new version of korma only returns the fields listed, by default.
Added a workaround in kameleon.queries/record-logout for a bug introduced by the new korma version: a (sqlfn) must now be the only key/entry in a (where) map.
Removed unused private function kameleon.app-groups/get-root-app-group-ids.