Generate a title for the document automatically.

Will now set the title of the document based on the first header tag it finds. If no header tag is found it will set title to 'Untitled.'

Moved setup of Marked to the main application backbone model.