SAR = Subject Access Request, It will give you all the data the UKBA/Home Office hold on you, so would be a good starting point to understand your complete immigration history, including cancellation of your WP. See
http://www.ukba.homeoffice.gov.uk/navig ... onal-data/ for further information. I understand the SLA is usually 40 days for this, so I would make the SAR asap.
NPEE = Notification of Premature End of Employment. An employer can submit a NPEE to the HomeOffice/UKBA when they want to end a company sponsored WP Holders LTR before its original expiry date.
As for your other questions about the court ruling, I'm afraid I'm not qualified to comment on what effect that would have on your WP cancellation & continuous residence. If you need advice on that you will probably need to engage the services of a solicitor or immigration consultant.