dabba: refactored CLI design for 'thread list'.

Signed-off-by: Emmanuel Roullit <emmanuel.roullit@gmail.com>
dabba: refactored CLI design for 'thread capabilities'.

Signed-off-by: Emmanuel Roullit <emmanuel.roullit@gmail.com>
dabba: refactored CLI design for 'thread settings'.

Signed-off-by: Emmanuel Roullit <emmanuel.roullit@gmail.com>
dabba: removed redundant code.

Signed-off-by: Emmanuel Roullit <emmanuel.roullit@gmail.com>
test: adjust unit test to fit 'thread' refactoring.

Signed-off-by: Emmanuel Roullit <emmanuel.roullit@gmail.com>
dabba: refactor scheduling policy mapping.

Signed-off-by: Emmanuel Roullit <emmanuel.roullit@gmail.com>
dabba: refactor thread mapping function.

Signed-off-by: Emmanuel Roullit <emmanuel.roullit@gmail.com>
dabba: refactor arrays of strings.

Signed-off-by: Emmanuel Roullit <emmanuel.roullit@gmail.com>
dabba: refactor return handling.

Signed-off-by: Emmanuel Roullit <emmanuel.roullit@gmail.com>
dabba: refactor rpc call function names.

Signed-off-by: Emmanuel Roullit <emmanuel.roullit@gmail.com>