fixed importer, and tests added
Merge branch '341-csv-to-iepy-doesnt-crahs-if-document-already-exists' into develop