Fixes associations when being sent null as value in association array when creating a model

In a many-to-many association, ie. User--Group, if a user is created with {"name":"John Doe", groups:[null]}, Waterline breaks, as null is an object, and Object.keys(null) breaks Waterline. Added null check to the if statement