Added -k flag
Removed useless prefix flag. Added -k and -v options. Added command-line parsing as standard part of test. Added test_rest_stdout.
Made use of xml-catalog optional, for single-schema validations. Some rule changes will be required to make this work.
Added tests.