Mark most commands as legacy-incompatible

... except for OpenDataset, SaveDataset and SampleImageUpload (which we
know are legacy-compatible).

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Organize imports

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>