Fixed #21430 -- Warning raised when unpickling Models and QuerySet from different versions

Thanks @charettes @akaariai @loic for help.
version -> pickled_version
`current_version = get_version()` (so we don't have to call it multiple times)
check `if version:` first so we can skip `get_version()` if no version on pickled model.