Refactor CAS exceptions
Add base class for ticket validation exceptions