Fix group exception and nullpointer use

Fix "hasObject" in "group": no exception if empty string passed.
Abandon use of "nullpointer" and use "boost::none" instead. Add further bool behavior to ImplContainer. Adapt all test cases too.