I2C: Enable pull-ups on SDA and SCL pins.

- Also added a timeout to I2C transfers for debugging.
Add functions to read one PPM channel and clear sample.

- Needed for the AP_HAL_SMACCM RCInput driver.
Add RCInput samples to AP_HAL sensor test program.