Backports fixes to SQL parameterization and PetaPoco mem updates
fixes entity repo merges, this also means that the n+1 fixes for entity repository will be in this release.
Updates version to 7.1.7