Allow config be extended from config as well as dict
Merge pull request #4 from omergertel/extend_from_config

Allow config be extended from config as well as dict