Remove $Core and $Mod* comments apart from $ModDep.
Remove detection of deprecated backticks which was added in 1.1b9.
Fix $ModDep failing to find application-wide include files.
Fix some missing newlines in the config header generator.