Online Trajectory Planning and Control of a MAV Payload System in Dynamic Environments