Update to mediawiki-api-0.2 and add pcre-ocaml dependency.