Update the library to work with EF6.

Not backward compatible. The branch "efpre6" is for the older versions