Update tasks to throw on error

This is to match lein 2 expectations.
Refactor project handling in tasks