Making sure the extra log functions are unique.

Previously, if log.addLoggerFunction were called n times with
the same function then each log message would appear n times.

This would be noticed in Spark when tavern is called multiple times
as the log.addLoggerFunction is called every time.

R=tapted@chromium.org

Review URL: https://codereview.appspot.com/57610043