[dataimport] backport massive store from dataio cube
Some tweaks have been made to work with 3.21 foreign key constraints.
Also test are not executed in our own pg cluster instead of polluting the system
one.
Closes #5414760
raiseNotImplementedError("Cannot migrate such an old version. Use intermediate Cubiweb version (try 3.16.x)")