refactor tod_manager::get_illuminated_tod to take unit_map as arg

Improve encapsulation, eventually remove all resources::pointers
from this object.