Revert "Revert "intern subset of datomic.api functions""

This reverts commit cea1a33d9d04d9a0629db299e642b9333ac05446.
Revert "Revert "added plugin capability""

This reverts commit ab7013e786e3a8f05fa825e504679a48fde0abfd.
Fixed plugin bug and unreverted reversions

I've been stupid with GIT!