Add project validation on attachment upload.
Remove obsolete attrs on attachments viewsets.
Add tests.