Move csv export option to BaseSearch

This will make it easier adding the export to spreadsheet option to new
searches

Change-Id: I8894b3571e30368b7559ca6b4efcdbebadbb1fdf