Create log entries instead of adding them.
Don't save reference to unsaved related model.
Fix jshint errors.
Fix authmanager autosave.
Don't sync invalid models (but don't destroy them either).