lots of stuff

refactoring some code, modernizing some as well, mostly in
DependencyGraph, improving a bit file parsing. and adding some more test
cases to the RedondantHeaderAnalyzer test class