Branch for CodeGear (Borland) specific fixes

[SVN r39356]
Merge from trunk

[SVN r39533]
Merge from trunk

[SVN r39560]
Merge from trunk

[SVN r39594]
Merge from trunk

[SVN r39768]
Patches for Codegear C++ Builder 2009

[SVN r48981]
Merge from trunk

[SVN r49099]
Merge from trunk

[SVN r49150]
bcbboost branch rebased on current release

[SVN r49389]