Replace Utils.log with safe console.log and global log method

* console API methods stubbed for safe invocation when console is
  unavailable
* Util.log deleted.
* `log` method on window object available, calls console.log and preserves
  line numbers.