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

Check project.isAccessible() before asking for nature
Merge pull request #90 from dgolovin/tern-nature-check-npe

Fix #89