context: not always set console.{log,error}

Only set console.{log,error} if the console object is undefined
on the context Nodelike is attached to.

This prevents Nodelike from overwriting, e.g. a browsers
console implementation.