Adds HTMLBars `loc` helper

Could we loop through all the params in the assert callback function?  Would make this logic a bit simpler I think, and also ensure that less code is actually run in production builds...