Added option to export contacts to csv format

Signed-off-by: Ricardo Leitão <ricardo7rl@gmail.com>