Helpful error for unconfigured document types

Previously this was giving:
```
NoMethodError - undefined method `[]' for nil:NilClass:
	/var/govuk/rummager/lib/document.rb:16:in `from_hash'
```