keep the $_id_for_new to the biggest *virtual* id in the post data;
just in case the entities are reused, the new entities will have different ids.
fix tests for new DataMapper's mode; fix csv data and method names. .
Merge branch 'master' into dev
return the entity class name as result if model->class is not found.