Add a getter for document.head and document.title

Add a getter for document.head and document.title.

Like in the modified test (document.title="changed title"), setters for elements doesn't seem to be called.