This commit enables linting for node.js files (gulpfile and
helpers, webpack and karma configs) and also splits .eslintrc
into 2 files. This is needed because our node.js files don't
support ES6 syntax, so nailgun/.eslintrc now contains common
linting rules and nailgun/static/.eslintrc contains JSX
and ES6-specific rules.
Implements: blueprint converge-to-eslint-config-openstack
Change-Id: I1956f2022475b39724dfb49f98bdc8e6e5d898e9
Webpack is much more powerful than r.js and opens path
to further improvements in testing, build speed,
developer convenience, ES2015, etc.
Implements blueprint webpack
Change-Id: I18a3b74db243f29e5dacb004569d66463f4ab16d