Update the library to work with EF6.

Not backward compatible. The branch "efpre6" is for the older versions
Merge pull request #2 from MikaelEliasson/development

Update the library to work with EF6.