Kill the use of layout_head for JavaScript
Move AnnotationHistory JS to common template
Remove document.ready handlers or replace with IIFEs where needed
Add back document.ready wrapper in relationship editor
Merge branch 'beta' into kill-layout-head

Conflicts:
	root/static/scripts/common/MB/Control/AnnotationHistory.js
	root/static/scripts/edit/MB/Control/AccountEdit.js
	root/static/scripts/edit/MB/Control/LabelEdit.js
	root/static/scripts/edit/MB/Control/PlaceEdit.js
Merge remote-tracking branch 'bitmap/kill-layout-head' into beta

* bitmap/kill-layout-head:
  Add back document.ready wrapper in relationship editor
  Remove document.ready handlers or replace with IIFEs where needed
  Move AnnotationHistory JS to common template
  Kill the use of layout_head for JavaScript