Changed console to $log usage

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