Feature: maxViewDistance, maxViewDistanceAtDark moved into ruleset

Update of https://github.com/SupSuper/OpenXcom/pull/698
A bit rewritten.
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.