[FIX] Some fixes for base_import_module

- Properly check unmet dependencies
- Set imported module's state to 'installed'
- Fix bad translation usage