Update handling of wakeup queue.
Repeat messages are now added to the end of the queue, and the original one gets dropped.
Tidy
This allows group items who are not exactly the same base item to be included in logic operations, for example a dimmer can now be included in a group switch item.
Merge pull request #1460 from digitaldan/group-item-fix

This allows group items who are not exactly the same base item to be inc...
Merge pull request #1454 from cdjackson/zwave-wakeup-queue

Zwave wakeup queue