Add spec for Thor patch.

Allow "run" to be defined as command.
Add spec for flash version command.
Add spec for flash info output.