overhaul C# part of the project

- create only one solution for all the C#, with sub-projects
- add indentation rules to the solution file
- fix all projects to framework .net 4.5
- remove some warnings (unused variables, mostly)
- fix CurvesDemo for new 4 points callback
- remove unused dependencies