assets: bundles with weight

* Changes the ordering of the bundles using a weight attribute.

* Adds more debugging helps for the assets as html comments.

Signed-off-by: Yoan Blanc <yoan.blanc@cern.ch>