Sandbox instance now passed to modules

Sandbox instance formerly created as scope var within modules, now
created by core and passed to modules.
Deprecated Sandbox methods removed.