Improvements to files_encryption

Includes improvements to coding guidelines compliance. Adds initial support for auto encryption existing plain files, and recryption of legacy encrypted files.

Makes a few minor changes to other OC classes.