Add app version to JS and CSS

This leads to the regeneration of the hash in case a single application is updated.

Fixes https://github.com/owncloud/core/issues/11374
include the apps' versions hash to invalidate the cached assets
Merge pull request #11591 from owncloud/addAppVersionToCSSandJS

Add app version to JS and CSS