Fixes #5088: Moves require.js to early in footer, adds elgg.defer(), fires init after config

* also fixes embed.js loading (don't know when that was broken)
* and small userpicker tweaks

I can separate these into separate PR if absolutely necessary