cli: do not register command instances, register command classes.

Command.get_summary and Command.get_usage are static methods now (renamed
from getSummary and getUsage respectively)