Initial support for Date, File, and Boolean attributes. Some refactoring.
More internal support for Date, File, and Boolean attributes (in Entity). Store file permissions
on FileAttribute: getting them on import, setting on export.
Internal support for documents' content.
Delete from postgresql the documents' content when related rows deleted.
Other cleanups.