Use anonymous student ID if available

Use anonymous student ID if provided by the runtime.
Deprecate `xblock_trace`, which was being passed to templates but not used.