use of preg_quote
remove rewrite rule updating

With the simplified rewrite rules this is not required.
function to return unserialized version of a string
fix some issues with comment and register form data persistance