LoggerFactory: require('console') instead of directly using global

browserify uses src/polyfills/console.js in order to avoid adding 10k to the
minified build, which is what would happen if console-browserify were used:

https://github.com/substack/browserify-handbook/tree/12f07d9767192d3f26510fbf2d79f3cdf13e18b6#builtins