This patch adds a new enum 'cmdtype' which will tell about the type of the
command that whether it's a read only command, it's recoverable write command or
an unrecoverable write command.
This will be used in deciding which level of hidden access a command can has.
cmdtype might be overly vague, since I could imagine a number of classifications it could mean. Maybe "cmdwritetype"?