This is the first drop of the events db import

Also, the error code processing will be changed to exception handling based in a later update.
I would expect `prevalidate` to be called by the main import4 script, rather than from here. I suggest before the `wipe` operation in import4.