Split components of object into single files

Split the Attachment and AccessControlList struct into seperate files to
avoid large source files.
Rename *Node* functions to *Object* functions

Rename functions that contain the word node so that they contain the
word object. Stick to the right terminology.