[FEATURE] Enable assets to be dependency only

This patch adds a new option ``dependencyOnly`` to assets enabling them to only be included when some other asset depends on them. Should close #317.