Adds array of package names which will be used to scan for components.
Packages will be scanned recursively, including all nested packages.
@param packages array of package names.
@return updated resource configuration instance.
@see #packages(boolean,String)