Use webpack

This change adds webpack as the main tool used while developing the
extension. The extension has been minimally refactored so it works with
webpack, with the intention of refactoring it even further in follow-up
CLs in order to improve the file/folder structure of the project and its
readibility.

Bug: translateselectedtext:5
Change-Id: I89d7422e38fdaf46661c96527c51aa4436ad8056
diff --git a/tools/i18n/bump-translations.bash b/tools/i18n/bump-translations.bash
index 5de175c..55f4dd7 100644
--- a/tools/i18n/bump-translations.bash
+++ b/tools/i18n/bump-translations.bash
@@ -17,10 +17,10 @@
 
 # Generate i18n credits file
 go run generate-i18n-credits.go
-git add ../../src/json/i18n-credits.json
+git add ../../src/static/json/i18n-credits.json
 
 # Delete empty translations
-cd ../../src/_locales
+cd ../../src/static/_locales
 for lang in *; do
   if [[ "$lang" == "README.md" ]]; then
     continue