Fix simulate_queue_worker not marking queue records as state dequeue
Fix simulate_queue_worker not marking queue records as state dequeue

When a queue_worker performs a `MiqQueue.get()` the messages are marked
with `msg.update!(:state => STATE_DEQUEUE` before being returned to the
worker to be operated on.

This is critical if the queue item being executed does a
`MiqQueue.put_or_update` which might update the current queue item.  A
good example of this is `EmsRefresh.refresh` which queues refreshes for
its child managers.

If the current queue item being run isn't marked as `"dequeue"` then
instead of creating a new queue item for the child managers, the child
targets are merged into the current queue item which is then deleted
after it is completed.  This results in the child managers never getting
refreshed.

skateman/manageiq,NickLaMuro/manageiq,agrare/manageiq,mzazrivec/manageiq,jrafanie/manageiq,skateman/manageiq,djberg96/manageiq,lpichler/manageiq,agrare/manageiq,chessbyte/manageiq,jrafanie/manageiq,kbrock/manageiq,ManageIQ/manageiq,d-m-u/manageiq,agrare/manageiq,NickLaMuro/manageiq,kbrock/manageiq,lpichler/manageiq,jvlcek/manageiq,kbrock/manageiq,mzazrivec/manageiq,ManageIQ/manageiq,djberg96/manageiq,d-m-u/manageiq,chessbyte/manageiq,jvlcek/manageiq,agrare/manageiq,jrafanie/manageiq,skateman/manageiq,NickLaMuro/manageiq,d-m-u/manageiq,ManageIQ/manageiq,mzazrivec/manageiq,chessbyte/manageiq,NickLaMuro/manageiq,d-m-u/manageiq,lpichler/manageiq,lpichler/manageiq,skateman/manageiq,jvlcek/manageiq,jrafanie/manageiq,djberg96/manageiq,chessbyte/manageiq,ManageIQ/manageiq,djberg96/manageiq,kbrock/manageiq,mzazrivec/manageiq,jvlcek/manageiq