make bounds_checked_int<> check for division by zero
units_tests.cpp: eliminate warning
polygon_collision_detection.cpp: use correct integral type