Merge pull request #3171 from cjljohnson/taskhookiterators

STORM-3543 Change task hook info objects to use basic for loops to reduce garbag…