Cleanup in Resources.php

* Use short-hand notation for arrays
* Sort dependencies of amd.shared
Resource loader/AMD module for document
AMD module rename: lazyqueue -> wikia.lazyqueue
wikia.cache as RL module

* Added wikia.cache to amd.shared group in resources/wikia/Resources.php
* Added semicolons to last array items in resources/wikia/Resources.php
* Added wikia.cache and wikia.localStorage to blocking asset group (only for adsinhead=1 scenario)
* Removed wikia.cache from AssetManager group adengine2_js
Merge pull request #623 from Wikia/amd-modules

AMD modules updates: cache, lazyqueue, document