Fix whitespace
Skip association validation for now
Marked failing specs as pending
Validation was scoped by type

Consider a class `Base` and a class `Child < Base` with a uniqueness check in `Base.some_property`

The uniqueness check did a `resource.model.first(opts)` where `resource.model` would resolve to `Child`. But nobody said that the uniqueness is scoped by the type (that should be done with `:scope => :type`).

This commit adds an (previously failing) spec and a fix
Applied @rykov's better code

and added some specs pointing out the STI edge cases addressed by that