Improve task results cli cmd

Support new argument

--pretty:
  If none or json => print resuls as json.dumps()
  If pprint - use pprint to display results

Change-Id: I6f54952cbbe24ebf3fa3d430025b947ff7a99cb6