Entity framework work for release 2.1.0

This is still WIP, please do not merge.

Continued discussion from https://github.com/npgsql/Npgsql/pull/109#issuecomment-29561708