IDE: refactor loading compiler options for BuildModes. Separate default and other modes.

git-svn-id: http://svn.freepascal.org/svn/lazarus/trunk@45623 4005530d-fff6-0310-9dd1-cebe43e6787f
IDE: refactor, separate loading project and session default compiler options for BuildModes.

git-svn-id: http://svn.freepascal.org/svn/lazarus/trunk@45624 4005530d-fff6-0310-9dd1-cebe43e6787f
IDE: refactor loading compiler options for build modes.

git-svn-id: http://svn.freepascal.org/svn/lazarus/trunk@45625 4005530d-fff6-0310-9dd1-cebe43e6787f
IDE: refactor, separate loading project and session BuildModes.

git-svn-id: http://svn.freepascal.org/svn/lazarus/trunk@45626 4005530d-fff6-0310-9dd1-cebe43e6787f
IDE: refactor, remove useless variable FLoadParts for loading project.

git-svn-id: http://svn.freepascal.org/svn/lazarus/trunk@45627 4005530d-fff6-0310-9dd1-cebe43e6787f
IDE: refactor TProject.LoadBuildModes. (is the original logic correct?)

git-svn-id: http://svn.freepascal.org/svn/lazarus/trunk@45628 4005530d-fff6-0310-9dd1-cebe43e6787f
IDE: refactor TProject.LoadBuildModes more.

git-svn-id: http://svn.freepascal.org/svn/lazarus/trunk@45629 4005530d-fff6-0310-9dd1-cebe43e6787f
IDE: refactor, get rid of TProject.LoadBuildModes.

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