RF: attempt python 3 compatibility

Use modified numpy compatibility file and try and work with common
source tree (no 2to3).