Use functools.reduce instead of twisted compat version. Replaced several occurencies of reduce usage with more appropriate functions.