Improved error handling during batch refactorings

ApplyRefactoringsJob.java:
Do not throw an exception when debug mode is disabled, so batch refactoring can continue despite stuck rules.

AutoRefactorPlugin.java:
Moved exception throwing behind log() methods.

PreferenceConstants.java:
Changed from an interface to an enum named Preferences.