Change name to OPAMCURL, use OpamMisc.getenv and add doc