Restores LessResource caching based on LastModified including support for imports.
Removed excess debug output.