Add functions to get current stack params

The added functions:

1. get the parameters that were used to create a currently running stack, and
2. override those current params with the given params.

These functions seemed useful enough and general enough to go here.