https://issues.jboss.org/browse/HORNETQ-466 - fixing an issue with delivering count on last value queue
https://issues.jboss.org/browse/HORNETQ-465 - deleteMessages won't clear lastValueQueue
Merge pull request #1377 from clebertsuconic/2.3.x

back porting some fixes from master