Fixed #12982 -- Added a ``get_or_set`` method to the BaseCache backend.

https://code.djangoproject.com/ticket/12982
I don't think I'd consider "get_or_set" part of the "basic interface"