Align closer to Datomic schema, follow entity refs

:cardinality -> :db/cardinality and :many ->
:db.cardinality/many. Support :db/valueType :db.type/ref in the
schema. Change entity so that refs are followed. Update README and
tests.