releasetools: Add support for MTD devices

Added device type checks in few functions to call necessary update
script commands.

Change-Id: Id7ddaecfe65eaf32867967b38ab952cf820f806b
Merge "releasetools: Add support for MTD devices"
sec_config: Allow sensors group process to QMI Sensor services

Enable Sensors QMI services for sensors process groups.

CRs-Fixed: 431081

Change-Id: Ibbdb0e07d9497e1809e7ef817e8400d4a9e4f8c1
Merge "sec_config: Allow sensors group process to QMI Sensor services"