export tables as csv

Reviewers: usmanm, marcua

Reviewed By: marcua

Differential Revision: http://phabricator.locu.com/D2999