Feature/config xml consistency

New PR based on https://github.com/joomla/joomla-cms/pull/2660

Plugins, modules and templates don't recognise params form from a config.xml file, only if the config tag is inside the manifest file. This is inconsistent since we can use a config.xml file in components.