Fixes to projectiles and the undead

* Fixed projectiles not registering block and entity hits properly
* Improved the undead AI in terms of navigating into sunlit areas
Might want to clamp this. If someone sends a arrow at >700 ms we don't want it coming out the other side. (Someone will try it, remember #866)