[HPT-222] Test for title field before dereference
Proper test for key existence
Merge pull request #39 from mwoodiupui/HPT-222

[HPT-222] the _document_header partial needs logic to prevent error when title doesn't exist