SCORU: WASM: Refactor host functions to be usable by FE
Dependency of: !6160 (closed)
This MR does the following:
- Create or modify auxiliary helper functions for every host function such that each:
- Receives 1 memory instance (instead of a vector of memory instances)
- Operates on
Durable.t(instead of the underlying storage) - Receives the parameters from the WebAssembly stack as is
- Move all auxiliary functions into the
Auxsub-module because they will be used for other things than tests - Fix some Lwt-related issues
Edited by Ole Krüger