Support $config->scripts and $config->styles as arguments to CSS() and JS()

Support passing of $config->scripts and $config->styles as arguments for
CSS() and JS() which are of type FilenameArray.