Fixes #1791: Port Lua Bin Allocator to next:
* Bin Allocator
* Lua memory allocaton fixes
* Simulator memory leak fixes
Fixes #1731: Joystick calibration crash after channel assignment
also additional fixes to stick postion mapping
Merge pull request #1823 from opentx/projectkk2glider/issue_1731_for_next

Fixes #1731: Joystick calibration crash after channel assignment
Fixes #1811: Companion 2.0.12 Gvar import error (for limits)
Merge pull request #1828 from opentx/projectkk2glider/issue_1811_for_next

Fixes #1811: Companion 2.0.12 Gvar import error (for limits)
Add a new parameter "Use Global Functions" for model where they are not
needed
Fixes #1829
Synchronization function for #1808 added. Still missing a button
somewhere to call it.
Yerico icons are ready. Other themes will be later. #1808
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 - Fixes #1634
Merge pull request #1840 from opentx/bsongis/Telemetry_refactoring

Telemetry refactoring - Fixes #1634
Switches configuration + Switches/Pots/Sliders/Sticks custom names