Batch AM processing fix
Tested on dm-luteus, see issue description
- added tests for am package creation and check status
- block async celery task spawning for other tests
- refactored am tasks
- added isort and black check to pipeline and compliance for code