I added it here because I didn't want to add a dependency from common/lib/xmodule on datadog. Not strictly necessary, but I know that google is using `capa_base.py` to run capa problems in course builder, so I thought it was better to do it this way.