Removes comment
Pulls turning off unique indices to clone-schema
Uses mongoose toObject instead of custom field copy mechanism
Extract functionality to set schema options to own module
Use debug module for writing debug messages and makes logError obsolete