Migrated JK2 stuff to JKA equivalents.

For the most part this migration is pretty clean, except for COM_BeginParseSession crashing in debug modedue to that validation check failing, so I hardcoded a workaround for now. There is something weird going on there, but the integration seems to work fine.