Fix https://github.com/angelozerr/tern.java/issues/89

Check project.isAccessible() before asking for nature