Remove references to /tmp in tests

Including:

* Change path for mongo_metadata_inheritance to use unique temp dir
* Update SASS_CACHE_PATH with thread-safe temp dir
* Remove hard coded directory reference for grades download tests
* Remove hard coded directory reference for direct mongo test
Merge pull request #5609 from edx/zoldak/remove-tmp-references

Remove references to /tmp in tests