Extend "globals" configuration deeply

Allow for extension of the "globals" configuration option. Users may
override any or all "globals" values by explicitly specifying them in
the extending configuration.
Merge pull request #1675 from jugglinmike/extend-globals

Extend "globals" configuration deeply