fix cmake
Add missing include needed to build on OSX.
Replace file encryption check with endian-aware hsStream.

Encryption check previously failed for AES files
on Big Endian systems due to endian-ignorant magic number reading
and comparison.
Fix endian-ignorant write of EoA's magic number.
Add missing field getters/setters from hsG3DDevice structures
Style enhancement for BE fixes.

Missed a few things in the original direct conversion.  This is
more sane and less stupid.  Also added an additional close that
was missing in the original code.
Merge pull request #24 from Deledrius/be_fixes

Big-Endian plEncryptedStream Fixes
Missing parse of wrapper tags here -- causes prc compile to fail
Fix a fairly serious bug in plString::replace
Write XML entities where appropriate to avoid parse issues.  Closes #15
Default-disable warning C4251 (template needs DLL-interface warning). Closes #25
Fix typo in exception message.
Fix crash when adding a STUB plModifier to a plSceneObject
Use plDebug, and don't need function pointers to also be references
More friendly pyTempVertex.Color accessor

Python and lots of artithmetic aren't fun, so let's present it as an
hsColor32 instead of a BGRA integer so that users don't have to do
bitshifts.
Store matrix data internally in OpenGL format, and remove the static buffer
That's unnesecary...
Merge pull request #29 from Hoikas/py-cleanups

PyHSPlasma Tweaks
Make the progress callback more useful
Add FileDownloadChunk callback called after sending ack

The current pnAuthClient::onFileDownloadChunk callback is called before sending the acknowledge message to the server. This callback is typically used to send the next command to the server. Some servers (notably MOSS) don’t like it if you request a new file before acknowledging receipt of the previous one. To handle that, the callback should be called after sending the ack message. To avoid disrupting functionality of existing library users, the existing onFileDownloadChunk method is left alone and a new additional method pnAuthClient::onFileDownloadChunkPostAck is introduced.