Remove generic_agent:WarnAboutDeprecatedFeatures

This is can now be nicely handled by SyntaxStatus warnings
Remove unused global AUDIT
Remove global PUBKEY_DIGEST
Deglobalize ROTATED to files_lib