Improve `projectile-project-buffer-p`

Check for hidden/ignored buffers first, then for project root.

Fixes #337
Merge pull request #337 from Silex/master

projectile-kill-buffers tries to reopen old TRAMP buffers