Updated localization.js so it goes to a default locale in case a non-translated one is detected.
Updated gitignore to avoid pushing uneeded Idea files.