[util] Implement log() method
[util] Implement isUndefined() method

This method is not part of Node 0.10.x, but rather 0.11.x. Anyway, it's
pretty simple to provide it.