UPDATE php_connector.py for supporting commands via json.

Signed-off-by: Richard Lea <chigix@zoho.com>
UPDATE script to support json return.

Signed-off-by: Richard Lea <chigix@zoho.com>
ADD utils.

Signed-off-by: Richard Lea <chigix@zoho.com>