[ticket5][broken] redesigned QueueAlloc hooks

- also, a minor cleanup of RA
- this version somehow manages to break omnetpp during a simulation,
  don't use it