Fixes trove show output

Reasons:
- trove show gives different output for id and names as input,
  as explained in bug, with name it shows less information.

Changes:
- Returns the object found by id after finding the matching object
  from the list of obtained instances, which results in getting
  same attributes for output
  irrespective whichever way the command is used.

Change-Id: Ib397d5791e9a6f10c10c2ab3160401c1c7cfa214
Closes-Bug: #1384055
Merge "Fixes trove show output"