Auto task value

Not sure why line endings changed... I have checkout as is, commit as is. Assume visual studio has rewritten the files and changed it.

A git attributes normalisation would help that :)

Also, I couldn't run the tests using the r# unit test runner with the default target framework being 3.5. I have changed the default to be .net 4.0.

The Task automocking is only enabled for .net 4.0 (Christian's PR will need to be updated to also include it in .net 4.5 too)