[uPermissions] Partial command implementation / Minor bug fixs

Signed-off-by: Nauthul <axel.evain@gmail.com>