Refresh tern project inside a job when .tern-project changes (at hand)
to avoid having "The resource tree is locked for modifications.". See
https://github.com/angelozerr/tern.java/issues/161