Fixing JSON problems once and for all.

Was doing it the more complicated way before.
Fixing styles. Watching for Mongo errors.
The readonly case studies work.
The very beginning of editing case studies.
Changed the inplace-edit directive to set and save the values directly.