Add contrib directory, and non-upstream patch to add Domain.get_cpu_stats_total.