A few more fixes for jshint bugs: Model and Router

Hi,

I found a few more jshint-ing bugs with the generators for model and router. These should now be fixed.