Allow group config files to return a function.

Previously only single config files could return a function and
group config files were restricted to an object.
Merge pull request #57 from TeamPraxis/master

Allow group config files to return a function.