Added support for deep merging config variables

Added support for deep merging variables for cases when objects are nested in the config file.
Fixes #3