fix: Fix directories and files path in constraints generation interface.
- DOC_DIR and IMAGES_DIR are now defined related to the TTapp module location where from images and doc are stored in.
- The used temp directory is now the one from the global application
- discarded.json file is now stored in the directory defined by TMP_DIRECTORY path.
Fixes: #59 (closed)