Fix insertWork on execution queue

This would stack overflow if the queue had stuff
in it because it put head of the list back on
the entire list rather than back on the tail.
Merge pull request #155 from sbt/wip/havocp-insert-work

Fix insertWork on execution queue