Entity can have its parent.

- Implemented non-recursive folder compare using FileEntity
  intead of FilePtr.