Do not log in environments without `console`

Fix #1.

`Promise._log` is designed to be overwritten by YUI so I only added manual tests to check that IE6 is not throwing reference errors.