Use chain dicts to configure calo hypo tool
With this MR a transition is started so that hypo tools configuration uses the chain dict (from menu) rather than the chain name parsing. The previous method is left in place so that all the tests work. We will phase *FromName functions in one step once we are able to configure all hypos from chain dicts. The change should be approved by @bernius and ack. by @jmontejo and @aranzazu from menu group. I also made the congigurations unit testable, i.e. hopefully no silly python typo should sneak in.