Merge changes from topic "lazy-dumpstate"

* changes:
  Make dumpstate HAL lazy.
  dumpstate: add interface into rc file