Promote task context to Esp object
An extremely hacky mechanism for passing task context was implemented to support the runtime configuration of WASM tasks.
https://github.com/ryankurte/rust-esp32-wasm/blob/ed4de9e1032454fac802f9735913c63bd4cfbcdf/base/main/wasm.c#L75
https://github.com/ryankurte/rust-esp32-wasm/blob/ed4de9e1032454fac802f9735913c63bd4cfbcdf/base/main/wasm.c#L338
Now this is working it should be promoted to the top level Esp object so we can also use it to cleanly exit (by polling on the task->running variable) and other such things...
Tasks:
- [ ] Move
argcandargvtoEsp::takefunction
Actually, it would probably be better to leverage Thread Local Storage (TLS) to store a reference to the WasmTask_t object so all of the awful wasm hacks can be removed...