Add test for variable substitution in include/subninja statements

Also tests readConfigWithEnv.