Fixes to make tests run reliably. Removed useless local directory presence check. Using a different port to test shark server/client connect.
Adding support for ENSIME mode for emacs and other editors in the build.