CRM-12791 : pseudoconstant replacement handling, and minor improvements

pseudoconstant replacement handling, and minor improvements

one more change apart from this, is removing the contribution status = 'completed' default filter, as i think by default preview of report : it should show free event participant as well.