Provenance and Analytics for Social Machines