Tweaks for EF6.
Update to .netFX 4.5.
.NET 4.5.1
Small code cleanup (based on Resharper & FxCop)