.NET 4 update and nuget package support

- Updated the project to .NET version 4.5.
- Tiny fixes to make all the unit test run. 
- And added a nuget specification file to enable creating of nuget packages for upload to nuget.org.