[build] update webpack build config to fix raw web usage (#349)
[build] update webpack build config to fix raw web usage (#349)

Update webpack build config to fix undefined protocol classes in raw web usage :

    change webpack entrypoint to include all classes
    rename library name to avoid Kuzzle.Kuzzle ...
    add BUILT global constant to avoid exception when used in raw web

everything remains unchanged for use with Webpack and NodeJS
kuzzleio/sdk-javascript,kuzzleio/sdk-javascript,kuzzleio/sdk-javascript,kuzzleio/sdk-javascript