Making custom CITypes just work

Fixed CIType error for newly added citypes. It should use CITypes from database when adding new type from admin panel, not fixtures constants.