Refactored the WebAssert class to reduce the complexity
Merge pull request #517 from stof/web_assert_refactoring

Refactored the WebAssert class to reduce the complexity