Fix JS error when templates aren't on page.

Not all calculators will have those templates. Shouldn't throw a JS
error when that happens.
Add feature spec for tiered promotion calculators.

Covers basic add and edit actions.