Simplified the logic tree code
Lot of fixes
restored the source model sampling feature
Removed the LogicTreeProcessor
Further refactoring
Merged from logictree-refactoring
Some renaming
Merged from logictree branch