Add test for inheritance of erl_first_files
Fix inheritance of *_first_files

Repository that don't declare *_first_files was inherited it from parent. And
than try to compile some files that don't exists.