Added cumavg and mean funcs to samc, changed db

To store objects instead of floats (to allow for more data).

Simplified experiment.py by offloading all logging to jobmon.

Silenced warning in libdai: see README for link.