makes edit experiment form functional
changes backend for create experiment
pulls commonalities into experiment.js
fixes bug in weighting update