JavaUtils: added (slightly modified) method escapeJavaString() from apache-common-lang library