Implement automatic replacements

Not yet hooked up to the Main program
Hook up ReplacementOperation to Main program
Fix wildcard resolving
Fix reading replacements
Allow replacement file and replements together
Allow more that one replacement file to be specified