Add TRACE_DEPRECATION environment variable

closes #6