added Java implementation for builtin string ops: replace/replaceAll/replaceFirst/countOccurences
changed to use StringUtils in the implementations of replace/replaceAll/replaceFirst; added Javadoc
Merge pull request #487 from yilongli/fix-string-op-replaceAll

fixing issue #456