Remove that State hack again

Turns out that I needed to pass the whole module list to module_template anyhow
so the State thing was nothing but a superfluous nuisance.