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
Merge branch 'master' into logictree
Merge pull request #1427 from gem/logictree

Restored the source model sampling feature