Add pty=True to invoke.run calls for leiningen

Without this change the output from the `lein` calls buffers until the entire command has finished (or at least it does on Python 3). It makes the user think `sparse run` and the like do not work.
Merge pull request #38 from dan-blanchard/patch-1

Add pty=True to invoke.run calls for leiningen