mavlink: minor refactoring and cleanup, rate limiter class implemented, new messages added