Move the clojure api to a standalone artifact.

This will make embedded use easier.
Add initial embedding support and example.