Switch back to Macaque and low-level pgocaml, to make possible to put _db module in library, not in template.
Moving _db and _groups in lib (was: in template)