Overhaul of the DBIC code to bring everything up to a similar, modern style.
Added a few more DBIC modules to move towards removing old Class::DBI code from Resolver

Main code. rev. 1838