Implemented ForEachEntityInBox

This implements the cWorld::ForEachEntityInBox() function, and exports it to the Lua API.

Fixes #191 
This conflicts with PR #1351