A police officer of 20 years standing has been sacked after he used the word 'pikey' in a private WhatsApp group.