Consolidate all command line programs

- Completely rewritten command line interface
- Full support for everything the GUI supports (eg. patching
  unsupported files)
- Removed old scripts in useful/
- Support for automated (non-interactive) patching