A prolific Telford shoplifter who racially abused a shopkeeper, hit a security guard with a sign, urinated in a police cell and spat in an officer's face has been given a community order.