documents: Split out the code to add a parent folder's link to an entry
documents: Split out the code to add a parent folder's link to an entry

We will need this for creating folders and copying files.

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

pwithnall/libgdata,GNOME/libgdata,pwithnall/libgdata