Fix compiler error when using Max SDK 2008.
Fix typo in MaxCompat macro.
Replace pnProduct with a (very) thin CoreLib plProduct wrapper around CMake-defined product ID values
Fix issues from review
Merge pull request #265 from zrax/product-id

Replace pnProduct with CMake settings
Fix the "Crash on Exit" bug

We were throwing away the Dispatcher before all the keys (namely, leaked
keys) were unloaded. See the comment in plResManager for more details.
Replace plasmalog with a better debug log

Plasmalog.txt is now plasmadbg.log. This allows us to view the log inside
the game, flush to the debugger output window, and have the logfile. The
plan is to redirect key leak reports to this log in a future commit.
Remove Cruft
Fix issues from review

- Delete the TypeFilter pointers
Merge pull request #255 from Hoikas/keyleaks

Key Leaks/Debug Logging
Merge pull request #239 from Deledrius/max2008_fixes

Max2008 fixes
Don't dereference a null pointer
Merge pull request #266 from Hoikas/log-crash

Fix StatusLog Crash