Util: correct matching with multiple patterns

The error raising code was incorrectly indented so that it
ran if the first pattern failed rather than if any of them failed.
CADC: update info query for SCUBA-2 reduced files

Added filename patterns for the JCMT info query for reduced
SCUBA-2 files and their previews.  Reduced files retain their
suffices in our system, but JCMT info returns filenames without
suffix, so we need to compare only on the pre-suffix part
of the filename.
Error: move CommandError class to error module
Add start of e-transfer command

Currently this gets as far as checking which of the files are
already at CADC so that we know whether to place them in the
"new" or "replace" directory.