Fixes #1791: Port Lua Bin Allocator to next:
* Bin Allocator
* Lua memory allocaton fixes
* Simulator memory leak fixes
This enables build of Companion on OS X
Remove the check for arm-gcc version when doing Companion build
Re #1783: Companion shows too many curve types in input/mixer for 9x
Re #1783: NOT curves exported incorrectly (for non ARM platforms)
Re #1783: NOT curves removed from inputs (for non ARM platforms)
In MixerDialog GVar checkbox for Curves was visible even when GVARS
disabled
Merge pull request #1804 from opentx/projectkk2glider/bin_allocator_issue_1791

Fixes #1791: Port Lua Bin Allocator to next:
Telemetry refactoring (radio part)
Telemetry refactoring (companion part)
Telemetry refactoring - firmware fixes
Telemetry refactoring - companion fixes
Consumption was 10x too fast
Vario source can now be any value from Telemetry
HexSpinBox used for sensors IDs
EEPROM fixes for Visual C++ policies regarding packed structs