fix non array middleware option
Merge pull request #26 from cherbst/master

fix non array middleware option
* updated contributors
* release 0.5.1
fix copy of array options

do not modify option object of caller
Merge branch 'master' of https://github.com/cherbst/express-restify-mongoose into cherbst

# By Christoph Herbst
# Via Christoph Herbst
* 'master' of https://github.com/cherbst/express-restify-mongoose:
  fix copy of array options
fix: test was broken
* release 0.5.2
add option 'findOneAndUpdate', Default to true

Allows to switch to first retrieve and then update mode.
This allows mongoose validators to be called on document updates.
* fix: test was broken
* updated contributors
* release 0.5.3
Adds strict option
merges upstream