Fix incorrect decoding of input integer arguments.
Pass accel and gyro data via Lua functions rather than tubes.

- Allows more control over how and when this data is passed.
- Make the accel and gyro scripts explicit and call them before
  recording the sensor state to the quadcopter object.
- Removed all code dealing with tubes.