Fix space title

Please review with focus on whether it might be possible to cause problems anywhere when docHeaderTitle is based on the requested docs' space rather than the content docs' space.

Sorry for all the clutter from the merge. The relevant changes are only in the these two classes:
docheaderTitleCommand.java
docheaderTitleCommandTest.java