Some fixes and refactoring for GHC 7.8
put equality constraint for QueryRaw to SqlDb
reimplement projections from functional dependencies to constraint kinds for GHC 7.8 compatibility
groundhog-0.5.0