cEvent can now wait for the event with a specified timeout.
Fixed world's a_Dt parameter getting time values in wrong units.
Added simple deadlock detection code.

This will assert and then deliberately crash the server once a deadlock is detected. For detection, only the world tick threads are considered, cWorld's m_WorldAge is checked periodically and if it doesn't increment for several seconds, a deadlock is reported.