Trap error in result serialization.

If msgpack fails to serialize something RexPro was swallowing the exception and locking the console.  The error is now trapped and returns a new error message flag for this specific problem.
Minor refacotring.
Trapped element serialization problem.

Element serialization fails if a element from a transaction is placed on the session and the transaction is rolledback.  the element goes out of scope.