clean up worksites to only report hasWork when energy<maxEnergy --
should inform workers to not work when the site has nothing to do
add template system support for gate-entities