Improve documentation and clean up code for JSONField.

Review Request #9406 — Created Nov. 27, 2017 and submitted

Christian Hammond

JSONField is one of the older classes in Djblets, and had very little
documentation available, despite all the work done on it over the years.
This change fixes that up by adding documentation for all methods and
attributes using our standard doc format.

Some of the code in the class was also cleaned up a bit, helping remove
some redundant code and bad/stale comments.

Unit tests passed.

Tested manually manipulating a JSON field through the admin UI to make
sure nothing broke anywhere.

David Trowbridge
  1. Ship It!
Christian Hammond
Review request changed

Status: Closed (submitted)

Change Summary:

Pushed to release-1.0.x (4522ab3)