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/
Merge branch 'release-1.7.x'