Both lein test and lein deploy work with new lein and dependencies

`lein deploy` didn't work with recent versions of lein and the latest project.clj.  

This may look like a small PR, but I spend 2+ hours reading docs, looking at other projects, and fiddling with various options to try to get the following to work: 
 - tests work in both Clojure and ClojureScript
 - deploy works without crashing
 - no dependency on cljs or cljx in the deployed JAR

With the many things I tried, this appears to be a minimal changeset that achieves all options, but I might very well be missing something.  Please let me know if there are better options.  Thanks!