Migrate itest suite to common_test

This was done in preparation for a move to epgsql/epgsql
I never M-q I didn't like!