add import button and ensure error status is correctly set when things bugger up
Merge remote-tracking branch 'origin/master' into js-add-import-button

* origin/master:
  Provide error log messages. Move DateFormat to class level.
  src/
  Set the DigitalStatusDate on the work and pages
  Handle null subtype robustly
  also make the search link on the homepage go to search
  escape query before submitting.