Use a better metadata_cache_key

The old code created keys like "('course', 'org')", and the space
character caused a warning from Django during tests.  Also, strings are
probably better than tuples for keys.
Merge pull request #1272 from edx/ned/remove-cache-warning-from-tests

Use a better metadata_cache_key