Added threaded AI path finding

This commit prototypes AI path finding using threads. I really want to
use a task based system but this will do for now. server position tick
is at 1.0/5 and ai processes up to 20 paths per 1.0/20.0 seconds.
Supports 280 entities. If above that I think network gets overloaded
which causes some weird behavior.