Fixes #1791: Port Lua Bin Allocator to next:
* Bin Allocator
* Lua memory allocaton fixes
* Simulator memory leak fixes
Merge pull request #1804 from opentx/projectkk2glider/bin_allocator_issue_1791

Fixes #1791: Port Lua Bin Allocator to next: