Fix message listening issue in common component

Current message listening thread will die when it received unsupported
message format (e.g. application/json). The issue will cause remote qpid
broker backup all messages for this listener forever. When such backlog
comes to a limit, qpid broker will refuse to put through new messages.

Fix changes this behavior with following changes:
1. Add logic to parse application/json format messages.
2. Add extra path to ignore unsupported message format
3. Catch unexpected exceptions in listener loop to avoid unexpected
listener termination.

Change-Id: I666c596f5725df25b548d82c733aa853fce7147c
Closes-Bug: #1349227