Correct use of STL container methods

clear() is the verb, empty() is a boolean attribute
Update gitattributes (with line ending fixes)
Fix for end of memory block in CheckIntegrity()
Ensure correct error checking in EmuXGSwizzleBox
Fix ordering of variables reported in CxbxRtlReallocDebug()
Ensure memset() does not underflow mCertificate.wszTitleName
Fix order of precedence for menu item greying out
fprintf() not expecting a class type variable, rather needs an element to resolve the pointer to, in Xbe::DumpInformation()
Fixes to printf() and DbgPrintf() messages
As XPP_DEVICE_TYPE contains Reserved[3] it has elements numbered [0-2], so ensure we don't access memory outside the array bounds
git-svn-id: https://cxbx.svn.sourceforge.net/svnroot/cxbx/branches/private/shogun/wip@174
Update and split Visual Studio project files by version, support Visual Studio 2010.
Implement Kernel 0x0002 AvSendTVEncoderOption()
Ensure the Cxbx Kernel .dll is labelled correctly throughout, taking the opportunity to simplify the Release and Debug branches. Bump version number as well.
PVS-Studio fix: Incorrect format. A different number of actual arguments is expected while calling 'sprintf' function. The EFlags value can be read from the Kernel Debug console.
PVS-Studio fix: The '&' operator is applied to bool type value. You've probably forgotten to include parentheses or intended to use the '&&' operator.
Fix to EmuIDirect3DDevice8_GetScissors() -- was setting x1 and x2 to 0 (top left), rather than x1 and y1.
PVS-Studio fix: The values of different enum types are compared. Simplifying and tightening the sanity check until such time as we support other forms of the NtQueryVolumeInformationFile call.
Enable Doxygen based automated code documentation. Recommending that the output from a Doxygen run not be commited, as the benefit of documentation to developers is that it is run on a fresh basis as and when needed.
Fix up IDirect3DSurface8_LockRect and IDirect3DTexture8_LockRect calls for situations where Flags set to NULL. Resolves issued with Halo1 and Turok.