Added complex types tests and fixed inserting complex types
Get true entity type incase proxies are being used
Merge PR
Minor tweaks
Merge pull request #103 from andypelzer/issue85pr

Merged pull request #85