A man who recorded the “horrific and prolonged” bashing of a cat and uploaded it to WhatsApp is ordered to do community service.