Move webpack configuration to a subfolder in the client directory
Remove trailing whitespace
Rename prd.config.js to prod.config.js
Simplify lint:js target path
This is where developers expect it to be, similar to Django and other
projects. The version info still exists at the old `wagtail.wagtailcore`
location, for backwards compatibility.
Fixes #2557