Fix for index.js require and cleanup of unused options in lib

Thanks for the super-useful Mongoose plugin!

It didn't work for me out of the box; submitted is a fix to the `index.js` file `require` that got it working for me.

In addition, some minor cleanup of unused option variables in the plugin library.