fix: address code smells in NestJS example
Remove unnecessary type casts in pets controller, add ValidationPipe and
HttpExceptionFilter to test setup to match production, guard top-level
side effect in main.ts, move eslint ignores before rules, and remove
unused supertest dependency.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>