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

... is out of synch

Changed method outOfSynch(IProject file) to outOfSynch(IResource resource)