Fix problem typos in DotDict's pop() and popitem() 

This fixes a glaring error in DotDict where the return values of pop() and popitem() were not being returned.  

In the course of diagnosing this error, found a stray use of CFG.get instead of CFG.get_safe for a multi-level dict lookup.