Version 1.4.0 -- converted to JSON i18n, PHP i18n dropped

Also got rid of $dir in favor of __DIR__

Change-Id: Ida20fcce3ec18f19ce50e6bd21f436d47b454a7d