Add ability to load settings from environment

Also fixed the loading Image package from Pillow
Add idea project files to gitignore
Merge branch 'master' into develop
Reorganize imports and fix the failed tests

Using relative imports for internal modules in acj package
Add event for evalcomment
Fix logging failed when question time changes
Update database migration script