Merge pull request #208 from wagnert/master

Activate design by contract enforcment for application directories
Add functionality to configure application context by XML