documents-panel: disconnect signals sooner on tabs

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

When destroying a document row, tab signals must be disconnected
sooner to avoid a call of document_row_sync_tab_name_and_icon()
with a invalid document row.