Fix https://github.com/angelozerr/tern.java/issues/68 + dispose tern
project when eclipse project is deleted or closed.