Packager: Cleanup and formatting

git-svn-id: http://svn.freepascal.org/svn/lazarus/trunk@46827 4005530d-fff6-0310-9dd1-cebe43e6787f
IDE: Partly implement component palette reordering.

git-svn-id: http://svn.freepascal.org/svn/lazarus/trunk@46828 4005530d-fff6-0310-9dd1-cebe43e6787f
IDE: Properly implement component palette reordering. Loading the user defined order does not work yet.

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