update Ember.assert calls to check type

as of emberjs/ember.js#2daec0b assert can take
a function and will call it instead of just
checking for truthy.
Merge branch 'master' of github.com:emberjs/data