Test that TemplateLookup dirs are not cleared during lms startup

LMS-2502

Already reviews on https://github.com/edx/edx-platform/pull/3185