Fix exceptions in SandboxController
extract database usage from SandboxRunner
add in-memory solutions repo
clone tests into CsSandbox