Branch for CodeGear (Borland) specific fixes

[SVN r39356]
Merge from trunk

[SVN r39768]
Merge from trunk

[SVN r39861]
Merge from trunk

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

[SVN r48981]
Merge from trunk

[SVN r49053]
Merge from trunk

[SVN r49113]
Merge from trunk

[SVN r49137]
bcbboost branch rebased on current release

[SVN r49389]