logic: add anyg

Add anyg pseudo-relation, similar to everyg, and appropriate tests.
logic: add mapg

Add mapg pseudo-relation, paralleling map in Clojure core, and tests for
same.