Added snippets, changed search key mappings, and refined test case generation.

Added pub (public) and ret (return) snippets.
query-replace-regexp is now C-/ (as in s/foo/bar/g)
isearch-forward-regexp is now C-. (as in foo.*?bar)