Change of ApplicationBase class methods.

- change directive of selected methods to protected
- addition of documentation
Small changes in unit test.

- using EXPECT_THROW_WHAT macro if xprintf method throws an exception