RAT-202: Replace manual creation of temporary files with junit Rule. * Add constants for XML report elements/attributes.