Make gm dependency mandatory
Remove dynamic loading of gm
Fix test for accept by using a real regexp
Add documentation