move all header into starting script for django console (PY-11728)

(cherry picked from commit 6f0730c2fe7c7cbafdee5a9669b92590b622f82a)
Merge remote-tracking branch 'origin/master'
bomb test
check app directory first (IDEA-125294)
update editor notifications on roots changed
cleanup tools extended
apply code cleanup after code generation, let's see how it would work on the long run (IDEA-124904)