Changed console to $log usage

Converted usage of console to $log and unified logging tothe _log
method. Angular uses $log for logging which wraps console and protects
against it not existing. $log can also be disabled through
configuration.