Revert "Remove run-command (and "raw" commands)"

This reverts commit 47cf0f476d8a7affa06297f8c20049cd236523ec.
Update help
keep raw commands removed
Update run-command to not be a raw command

(raw commands don't exist any more)
Better main detection
run-command tests
Merge branch 'restore-run-command' into devel