In a complicated judgment of more than 300 pages an employment tribunal has upheld some of Sandie Peggie’s claims but dismissed others