Add link helper detection to login and logout link helpers.
Add link helper detection to login and logout link helpers.

alexkravets/browserid-auth-rails,mvxcvi/browserid-rails,alexkravets/browserid-auth-rails,mvxcvi/browserid-rails