Branch for CodeGear (Borland) specific fixes

[SVN r39356]
Merge from trunk

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

[SVN r48981]
CodeGear patch

[SVN r49043]
bcbboost branch rebased on current release

[SVN r49389]