Make integration tests work again

This fixes the problems I had with running ensime-test. Having a working test suite will encourage the writing of new tests.

I found two frustrating problems I don't know how to solve yet. My best guess is race conditions in the server. I'm not giving up on fixing them yet, but  I thought it would be most helpful to commit the fixes to the test suite, and expose the problems in a "non-working tests" suite so others can have a crack at them.