Added user_name information for CSV output

Changed the CSV output on simple CSV and timeseries CSV to display the
user_name in addition to the user_id.

Created new function get_username_via_id(user_id) to map the user_name from the
id given.

Change-Id: I839eb8cf9dc7f31e84782bd66ad882e96d54b6f7