Reorganise testing

This branch is going on too long, need to do a merge I think. 
Feature summary of this branch:
 - re-organised pkglib_testing with a simpler, cleaner package layout.  In particular, pytest fixture definitions live next to their server fixture counterparts. 
 - Have got a number of the integration tests working again on stock ubuntu
 - Added a fixture for RethinkDB