view: Add a method to get the first document and keep the model private

Improves parts of 13954c74f593806a5111bea2129bbaa28423fab0

https://bugzilla.gnome.org/show_bug.cgi?id=719920