Test that TemplateLookup dirs are not cleared during lms startup

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