[Bug 841492] Added language selection

This commit includes:

 - Remember selection for anonymous users.
 - Uses preferred language for logged in users.