some ground work for http://issues.apache.org/activemq/browse/AMQ-845 changed pending linked list to use a PendingMessageCursor interface instead