JBIDE-13695 Rename Method Participant does not work correctly if project...

... is out of synch

updated error message
changed method outOfSynch(IProject project) to outOfSynch(IResource resource)