Allow to get permitions for section != 'component'

This will allow to set ACL different groups based on category permissions, for example:
access.xml
	&lt;section name="component"&gt;
		[...]
	&lt;/section&gt;
	&lt;section name="category"&gt;
		&lt;action name="roles.list" title="roles list" description="" /&gt;
		&lt;action name="roles.manage" title="roles manage" description="" /&gt;
	&lt;/section&gt;

view.html.php (view of a generic component)
[...]
$this->canDo = JHelperContent::getActions('com_componentname', 'category', $item->catid);
if (!$this->canDo->get('roles.manage')) {
            JError::raiseWarning(404, JText::_('JERROR_ALERTNOAUTHOR'));
            $app = JFactory::getApplication();
            $app->redirect('index.php');
}
[...]