Expose component resource in CLI

Exposes the following functionalities:
1) List all components
2) Show a particular component

Fixes bug 1329059

Change-Id: I2a18aaa64eba46959a249a7202e0dc331f4f6f11