Computation of confidence levels for search experiments with fractional event counting and the treatment of systematic errors