Merge changes from topic 'lshal_debug'

* changes:
  Add tests to lshal.
  Add `lshal debug` command.
  Lshal: support commands.