IDE: Show buildmode in IDE title bar (optional)

git-svn-id: http://svn.freepascal.org/svn/lazarus/trunk@43949 4005530d-fff6-0310-9dd1-cebe43e6787f
FPDebug: fixed compile without $DEFINE

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