Fix situation in which a component is using com_categories but has not created a category type in the content_types table.
Merge branch 'nocats' of https://github.com/elinw/joomla-cms into nocats