ResourceLoader modules dependency clean-up

Proper eachchange and wikibase.templates dependencies along with removing unnecessary dependencies.

Change-Id: If2f86e900b3e4e336c2e1faf01afdd1cff54b364
Merge "ResourceLoader modules dependency clean-up"