Feature: maxViewDistance, maxViewDistanceAtDark moved into ruleset

* maxViewDistance, maxViewDistanceAtDark and maxDarknessToSeeUnits moved into ruleset.
* optimization of TileEngine::visible()