fix json schema for load_questions command
cast to string only if category name is int
use flake8 instead of pyflakes and pep8
add identifier field to some models
delete image files when image is deleted
be able to "reset" some models
do not duplicate questions and resources with the same identifier