log exceptions in ConsoleProxyServlet

- Added exception to the logger method parameters to make stack trace available
- removed checking of debug level, it does not save temporary object creation here

Signed-off-by: Laszlo Hornyak <laszlo.hornyak@gmail.com>
test for escapeHTML

- test added
- StringBuffer replaced with StringBuilder

Signed-off-by: Laszlo Hornyak <laszlo.hornyak@gmail.com>
test for HighAvailabilityManagerImpl

Signed-off-by: Laszlo Hornyak <laszlo.hornyak@gmail.com>