CON-1772: combine AssetsManager JS requests

@Wikia/platform-team / @kvas-damian 

Thanks to ``WikiaSkin::getScriptsWithCombinedGroups`` we're now able to fetch all AM groups in a single request - one request instead of five.

* introduce ``WikiaSkin::getScriptsWithCombinedGroups`` for rendering bottom JavaScript tags - both external requests and inline
* load AM config only once + #5121 fix cherry-picked
* throw ``AssetsManagerException`` when not existing group is requested (i.e. fail early)
* improve logging of ``WikiaException`` exceptions
The first foreach operates on both ``$scripts`` and ``$bottomScripts`` variables. I think it makes sense to keep the logic in one method to make these operations more obvious and avoid passing a "huge" context between methods.