Production-ready Express utilities for error handling, logging, responses, and optional MongoDB connection helpers