Added handling for missing document_type in document view.

A customer hides the `document_type` field. The view needs an update to handle this missing field.

Fixes https://github.com/4teamwork/opengever.ai/issues/54

@phgross