A nine-year legal battle over whether a company was right to fire an employee who carried out ‘a small harmless private conversation’ on a work social media ended at the European Court of Human Rights today