oops...
only variables can be passed as reference... fix
quick attempt at fixing a problem with XSDs in later PHP versions
fixed AgaviConfig readonlies
better exception when writing config cache fails, thanks Trancer