Update action handlers to be inside an actions hash.

This stops deprecation warnings in Ember 1.0 and will mean it should continue to work in future versions of ember.