CDB-4182 CSV Import guessing

https://cartodb.atlassian.net/browse/CDB-4182
Yep, Member and DataImport share some code that should be extracted