Replace winston with our own logger

Winston is not Browserify compatible so we can't continue to use it if
we're targetting browswers as well. The custom logger added here is just
a link to console.log with the debug option linked to a no-op function.