ConsoleAPI: bring over also the nicer RegisterCommand variant + sprinkle some auto magic while at it.