Move ElggUser wrapping code to session.js
+ simplify file loading and remove global languagesUrl