Fixed #23338 -- Added warning when unique=True on ForeigKey

This PR is similar to #3196 but with the tests and the updated documentation as requested.
It's just about triggering a warning to let the user know that a OneToOneField is a better option than a FK with unique=True. The goal isn't changing the way FK behaves.