Fixed #20429 -- added create_or_update

Added implementation for create_or_updated method on QuerySet.