Fix bad tests for sub-BSD OS detections that resulted in sub-BSD flavors being detected but appearing that the super-BSD was not detected.

[SVN r85971]
Adjustments for building tests with dynamically generated header links for modular SVN layout.

[SVN r85974]
Address endian compile errors for OSX in the cases where sys/param.h was include ahead of the predef headers. The solution was to: use the OSX machine/endian.h header, and only allow a single OS to be detected at once. Test cases added for both conditions on OSX.

[SVN r86167]
Fix repeat def of OS_BSD when sub-BSD flavor detected. Fix some make tests that fail on non-2003 compile modes.

[SVN r86312]
More stringent testing of OSX BSD like behavior. Fix BSD mis-detection on OSX depending on include order.

[SVN r86313]
Fix some doc typos as reported by Michel Morin. (fixes #9209)

[SVN r86314]