AIMesh fixes on isAnythingBetween and castRay(Sqr)

- the two AIMesh functions did not use texture coordinates, so
everything would be far out of bounds. That is now fixed.
- Removed the vector2 isAnythingBetween and just replaced it with a
castRaySqr. Because I repasted other code, should probably do this
instead.
- Committing work to pathfinder.. Nothing interesting, just debug info.
- Removed undef from PacketHandler that I saw by coincidence. Let's not
remove/replace definitions guys. Ever.
- Made direction 0 when Object is not walking