Only turn first nested title div into a title editor.

This avoids styling everything that is a title the same as the document title.
Fix logic of when to prune div.title from tree.
Merge pull request #20 from wysiwhat/ticket318

Only turn first nested title div into a title editor.