lang: add warning if a kv file with rules/templates/dynamic classes is loaded multiple times. closes #991