apply heuristics to determine if the source file should be loaded directly under /var/classes or under /var/classes/slingid. fixes #27