Add feathers-hooks compatibility.
Add feathers-hooks compatibility.

This lets you define hooks directly in the entity object:

```js
var mongoose = require('mongoose');
var hooks = require('../hooks');

var Property = {
	schema: {
		title: {type: String, required: true},
		description: {type: String},
		sold: {type: Boolean, 'default': false}
	},
	methods: {
		isComplete: function(){
			return this.complete;
		}
	},
	statics: {
	},
	virtuals: {
		'id': function(){
			return this._id.toHexString();
		}
	},
	indexes: [
	],
	before:{
		find: [hooks.log]
	}
};

module.exports = Property;
```
feathersjs/feathers-mongoose