luasandbox: Add utilities
Created by: efritz
Small refactor with some added utilities to help create modules. UX will come in bursts here as I flesh out what we actually need from this code. This PR also exposes the bare run
method for use by module definitions (coming soon).
Test plan
Existing/modified unit tests.