Add travis ci config, fix aggregation table specs, add possibility to run specs for different db adapters.