Added integration test for query and cancel.

Added integration demo (QueryCancelMain) for use of query_sm and cancel_sm commands. This was testsed against the SMPPSim simulator <http://www.seleniumsoftware.com/user-guide.htm>, and successfully queries the sent message state and cancels its delivery.