Add options to dump_course_structure to output inherited metadata.
Add tests for inherited metadata to test_dump_course, and move to commands/tests dir.