* mandos-ctl: Reorder everything into logical order; put main() first, and put every subsequent definition as soon as possible after its first use, except superclasses which need to be placed before the classes inheriting from them. Reorder all tests to match.