Fix for undefined behavior (accessing before the beginning of an array)


[SVN r13951]
Handle DLL_AS_LIB properly


[SVN r14028]
Grabbed header cacheing and a bunch of other improvements from Matt Armstrong's work


[SVN r14037]
Fixed several bugs in the new unit test code


[SVN r14788]
Boost.Log merged to trunk.

[SVN r83860]