.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.
- Added a few ignores to the git ignore file
- Added a git attribute file to avoid line break issues etc