Add test for outgoing packet remapping
Test that non-iq & iq[type=result] do not get remapped
Test that error packets don't get remapped
Formatting updates
Merge pull request #126 from surevine/issue-91

Do not map non-IQ or iq[type=error] and iq[type=result] packets