Parameterize the sandbox's ports and templates.

We also created the no_reset tag for cli tests that makes tests a lot faster
by not resetting the sandbox, because this is unnecessary for a subset of tests.