fix [PHRAS-75] csv user import is broken
Add csv import unit test
Fix tests
Fix php 53 support
Merge pull request #1059 from nlegoff/fix-csv-import

[3.8] fix [PHRAS-75] csv user import is broken