make coreDir variable mandatory for building themes

if a theme uses less variables from the core theme, it can not be built
without a reference to the coreDir. For now, we just ignore all less
tasks that have no reference to the coreDir and show a warning, so
developers might set a coreDir variable.