register() method now first registers module dependencies *before* registering the module itself.
Merge pull request #16 from rolandzwaga/master

Fixed: config blocks didn't work for module dependencies