Fix malformed library name and include directory to contain the major version (libmozjs-38.so and /usr/include/mozjs-38). Add major version to js shell, js-config and pkg-config files. Patches from Debian. Fix conflict with js-1.8.5.