Add console.warn to consoleUtils.js

This will let us use console.warn without worrying whether all browsers support
it.

Reviewed at http://reviews.reviewboard.org/r/4044/