Adapt ember-moment to htmlbars new helpers signature

In htmlbars helper methods have a different signature. This PR defines one function or another based on the presence of `Ember.HTMLBars`.

Also fixes some annoying deprecation warnings in apps using htmlbars.