Optimize revision collect for better extensibility

You may now pass an Array of files, including the manifest file,
files to replace and like in this example files to exclude: feed.xml