Merge changes from topic "handle_per" into rvc-dev

* changes:
  Return handle instead of resource id to the client in trm
  Add TUNER_PERMISSION and DESCRAMBLER_PERMISSION check on related tmr apis