rewritten tr_shadowbounds.cpp to use internal containers

rewritten tr_shadowbounds.cpp to use internal containers - improves engine stability