Refactoring: Strings handling

Signed-off-by: Oleg Nenashev <o.v.nenashev@gmail.com>
Merge branch 'master' of https://github.com/jenkinsci/collapsing-console-sections-plugin