Make ensime-test.el functional again

This puts ensime-test.el back into shape so the tests can run at all.  To run the integration tests, this should work:
```
C-x C-f ensime-test.el
M-x eval-buffer
M-x ensime-run-all-tests
```
Or use the shell script in the doc repository: https://github.com/ensime/ensime.github.io/blob/master/etc/run_emacs_tests.sh  as well as the now-deleted .emacs_test.el : https://github.com/ensime/ensime.github.io/blob/8b3b438cdc3f7e08ed351986586435bd31a372fd/etc/.emacs_test.el  to run the tests in batch mode.

Then wait...

A few tests are now failing, I didn't look too hard into them, but I marked them as such. My guesses for causes include bad test setup (e.g. couldn't find the scala library), protocol changes, or actual bugs in the server. I expect that they can be fixed one at a time.