added Java implementation for builtin string ops: replace/replaceAll/rep...

...laceFirst/countOccurences