Add json and csv format ouput option to librank tool

Add an option to librank. It will print the output in json/csv/raw
format based on the argument provided by user.

Bug: 152634898
Test: Built librank and tested on wembley device. The output is as
expected

Change-Id: I6731072c68469a4aba169888d357267219da9256
1 file changed