Merge pull request #272 from Emill/remove-unnecessary-aliases

Remove redundancy in Entity Framework SQL generation for aliases and boolean casts
Added two tests on RecordsAffected for coverage
Turn on debug logging in unit tests
Merge branch 'master' of https://github.com/npgsql/Npgsql into remove-unnecessary-aliases