Fix #2306: Aggregate cursor usage

Aggregate cursor usage.

e.g.:

https://github.com/changyy/mongoose-aggregate-cursor-usage/blob/master/basic.js#L118
Should be `if (this.options && this.options.cursor) {`. Options may be undefined. Also, going forward, mongoose will always use curly braces around if blocks.