Support for using aliased field names in combination with validates_uniqueness
- Changed alias-uniqueness implementation so it correctly uses the aliased key in the errors[] hash (if you used the aliased key originally)
- Added specs to cover the presence of aliased field key in the errors hash
- Added specs to cover aliased field in embedded documents
Even cleaner implementation of aliased field detection