Agent logic updates

- Fixed message handing on XMPP -> Both bare and excact JIDs receive the
message
- Added new logic for JM picking in the agent