First basic implementation. Re #10689

Tested that it can run in mantidplot
added first unit test and rst. re #10689
fix warning sizet int. re #10689
added documentation that describes alg. re #10689
Merge remote-tracking branch 'origin/feature/10689_tofsansresolution'