Feature: maxViewDistance, maxViewDistanceAtDark and maxDarknessToSeeUnits moved into ruleset

Calculation of visibleDistance takes into account possibility of changing MaxVoxelViewDistance via ruleset.
Instead of checking visibleDistance each voxel, checked only one time per tile. Therefore performance will be increased especially for long range.