Library: fix Regexp.replace_first and add a few other Regexp functions

Fixes #92.
Merge branch 'master' of https://github.com/ocsigen/js_of_ocaml