Added entity:attachments()

returns an array containing all of the attachment names pertaining to the given entity.