common: Remove duplicate code

* Remove util/dictconfig.py as it's a duplicate of lib/dictconfig.py
common: Remove unused code in lib/singleton