fixes #1081, closes #1079. addDevServerEndpoints needs app stub for createDomain
fixes #1081, closes #1079. addDevServerEndpoints needs app stub for
createDomain

bdwain/webpack-dev-server,webpack/webpack-dev-server,bdwain/webpack-dev-server,webpack/webpack-dev-server