Use `projectile-log' instead of `message' when non-interactive

* projectile.el (projectile-do-log): New custom.

  (projectile-log): New function to be used instead of message unless
  the current command was invoked interactively.

  (projectile-cache-current-file): Use `projectile-log' instead of
  `message'.