Add `validate_uniqueness_of_(:foo).allow_blank`

This re-applies fcbc16e7d6e2affcdd760e8e05939bf6e0ed849a.