Fix a crash with mixed case models

ReferencedModel.associations is undefined if a model has mixed case, since sails.models' key are all lower case (see publishCreate from line 1038 onward)