Updated backend for performance regarding pending moderation

Added has_pending_moderation attribute
Tests also updated
6 jobs for performance/re_setup_analysis in 5 minutes and 1 second (queued for 2 seconds)
Status Job ID Name Coverage
  Check
passed #464947
docker
check_back

00:00:49

passed #464948
docker
check_front

00:01:28

 
  Test
passed #464949
docker
test_back

00:00:50

88.0%
passed #464950
docker
test_frontend

00:00:48

 
  Lint
passed #464952
docker
eslint

00:00:53

passed #464951
docker
flake8

00:00:13