IDE: Save and load values when BuildMode is switched.

git-svn-id: http://svn.freepascal.org/svn/lazarus/trunk@40853 4005530d-fff6-0310-9dd1-cebe43e6787f
 * omit fpmake.pp


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


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

git-svn-id: http://svn.freepascal.org/svn/lazarus/trunk@40856 4005530d-fff6-0310-9dd1-cebe43e6787f
IDE: Copy also ProjectBuildMode.InSession in Assign

git-svn-id: http://svn.freepascal.org/svn/lazarus/trunk@40857 4005530d-fff6-0310-9dd1-cebe43e6787f
IDE: Buildmode window refactoring.

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