Only return caches that can actually be used [IMMUTANT-324]
Minor refactorings.
doc: IMMUTANT_HOME needs to point to `immutant` dir, not `stage`
Add support for :nrepl-handler and :nrepl-middleware from project.clj, fix IMMUTANT-328
Merge pull request #8 from cemerick/master

Fix IMMUTANT-328, and a doc tweak
Update obsolete function name
Eliminate unneeded init middleware.

Instead, we its work when nrepl is started, in a future to save the
~500ms it takes.
Load plugins and apply middleware when bootstrapping lein projects [IMMUTANT-330]

This introduces a dedicated classloader per deployment to isolate the
plugins loaded.
Extract dependency exclusions out to a standalone project.

So we can use it in the plugin as well for archiving.
Update to leiningen-core 2.3.0 [IMMUTANT-333]
Don't allow dep resolution to be memoized when we're in a bootstrap context [IMMUTANT-328]
Use latest polyglot with potential fixes for [IMMUTANT-319]
I need these in slim due to openshift's use of jboss-cli.sh
Remove debug commentary
Single arity wait-for just blocks til true
Correct my misunderstanding of useSynchronization to fix [IMMUTANT-335]

The only way Infinispan will register itself as an honest-to-goodness
XAResource participant is if useSynchronization is false. It's true by
default, useful for say, a Hibernate 2L cache, but not good when other
XA participants depend on the cache's state.

So now we always set useSynchronization to false when inside the
container.

Integration test provided as well.
If listen returns a deref, so should unlisten, I think [IMMUTANT-337]
Delegate start synchronization to polyglot [IMMUTANT-319]
Don't log warnings on multiple undeploys [IMMUTANT-337]

This also moves the synchronization of unlisten to the izer instead of
using a promise in clojure.
Use newer polyglot destination API.