More optimization improvements to snippet preview, including:
- more caching of variables;
- delays on the replace AJAX call;
- namespacing of most of the javascript functions;
- improvement to the regex in the JS;
- remove unused functions in the JS.
Merge branch 'master' of https://github.com/Yoast/wordpress-seo