fix pep8
fix tests for new generic attachaments
update permissions
update demo data generation
fix for refactoriung attachemnets model to generic
Attachment model now is generic and other little changes
fix tests
delete unused import