Revert "Revert merge of entity.js and associated fixes."

This reverts commit 6ba286ba4983a095d16733dc72f3d6d991725aee, reversing
changes made to b8c59037a9d2c5a27ae85e5899b7faa9cbb146ed.
Remove knockout from the edit manifest
Kill trailing comma that killed the closure compiler
Merge remote-tracking branch 'bitmap-bitbucket/new-entity-js' into beta

* bitmap-bitbucket/new-entity-js:
  Kill trailing comma that killed the closure compiler
  Remove knockout from the edit manifest
  Revert "Revert merge of entity.js and associated fixes."
Update submodules on deployment.