Do not check whether the user is logged in in the locale dropdown fragment.

This dropdown is only present in pages accessible only for unauthenticated users. The validation was superfluous.
Added fragment caching to Devise layout and associated fragments.