Add datomic test refactoring; plus test map schemas
Support generating datomic attrs from schemas with nested attrs