handle nil associations on uniqueness validator
split spec models into separate files
Merge pull request #3506 from musicglue/uniqueness_no_method_error

Uniqueness validator raises NoMethodError instead of Validations error