Companion: Limit the maximum number of wasm memory pages a runtime can have (#3449)

* Add `max_memory_pages`

* update Substrate

Co-authored-by: Shawn Tabrizi <shawntabrizi@gmail.com>
Co-authored-by: parity-processbot <>
12 jobs for master in 46 minutes and 6 seconds (queued for 9 seconds)
Scheduled