Feature: pass model in resource

app.resource('Name', mongoose.model('Name'));
Context "Resource" for hooks

now you can access the properties of a resource, for example: this._model
version up
Small fix in default methods. Add NotFound error
version up
Добавлена возможность перезаписывать методы.
Merge branch 'master' of https://github.com/chetverikov/substance