Rework gearbox link system

- links are nice neat tables now instead of eight parallel tables. (does
  not remove old duplicate ropes)
- also fix goof on updating engine entity