Fix compilation issue due to wrong import.
Make Messages more Generic, marshalling is not needed right now as the
Proton JMS transformation does a mapping from the JMS layer API
Make close of JMS resources more orderly and try to capture cases where
an exception might get thrown on close() when it shouldn't be