- change Checks.validateModifiesFiles() method to check the preference
for auto-syncing resources if there is a failure and add an
IProgressMonitor parameter if syncing is required
- add IProgressMonitor parameter to Checks.validateEdit() to pass
along to Checks.validateModifiesFiles()
- change all callers to include the IProgressMonitor parameter
- change JavaCopyProcessor.checkInitialConditions() to also
check the preference and sync if needed
- ditto for JavaDeleteProcessor and JavaMoveProcessor
- ditto for ElementValidator.checkInSync() method
Change-Id: If993b515850291ce45cbac1c4c223162b2adc244