pymavlink: added support for logging sent packets

useful for debugging, and matches what mission planner does