ticket:4 test case refactoring

Place settings object instead of dict filled with settings values
ticket:4 context processor code refactoring

Put settings object into context
Merge branch 't4_contextprocessor'