Fixed the logic for

Need to handle CA / AA / AE from different perspectives, including Poll
/ Push ideas.

Implemented
(From the view of the Poller)

Poller -> Requests Messages from SALMS (via getMessages) -> Receives
back messages

Poller -> Ack Messages from SALMS (via AckMessage) -> Receives a “Batch
Acknowledge”
Merge pull request #28 from sross07/Scott

Fixed the logic for