Add activity for constraint change and update _json for history for project #2222

* Add activity for constraint time change
* Update _json for history to return more data.

Review ID: 362001