Added ability for collection.set function to pass in a isEqual function to determine if the models you attempting to add are the same.
renamed variable.