Rewrite stage variables.

Stage variables now act a lot like parameters and their initial values
are lazily evaluated.
Update action and animation example to use new stage variables.