Fixing issues with freeing regex.
pcre_free() used instead of ordinary free().
Redmine#2038: adding string_split function to replace splitstring
making splitstring deprecated;
ading StringMatchWithPrecompiledRegex() and CompileRegex() for avoiding
compiling regex multiple times;
fixing compilation warning about const Rlist;