Bug Fix, more script support.

- Fixed an issue with the server sometimes not sending data around
properly, resulting in NPCs not always moving on every client(May have
affected other systems as well).
- Added OnPlayerHit.
- Added OnPlayerHurt.
- Added a new command GetNPCName.
- Fixed a few issues keeping the server from compiling.