IDE, Component Palette options: Refactoring. Implement "Restore defaults". Don't change settings when user clicks Cancel.

git-svn-id: http://svn.freepascal.org/svn/lazarus/trunk@46871 4005530d-fff6-0310-9dd1-cebe43e6787f