add loader that processes configuration as symfony does
refactor
Scrutinizer fixes
Merge pull request #4 from flint/configuration-loader

add loader that processes configuration as symfony does