veyron/services/store/viewer: Fix up viewer code and mdb templates.

Various changes, including the just-submitted go/vcl/3881, have worn down on the
viewer and mdb example to the point of effective brokenness. This CL fixes
various issues, restoring the viewer and mdb example to full health.

Change-Id: I814fc99671fe8bd3a3d8eab2989304c6cd7c7739
14 files changed
tree: 3433af1d4e7b6802066baec2b6d96ba9cf6692de
  1. examples/
  2. jni/
  3. lib/
  4. profiles/
  5. runtimes/
  6. security/
  7. services/
  8. tools/