assets: bundles 2.0

* Adding a bundles jinja2 command to specify the required bundles.

* Supporting bundles definition using a module specific bundles.py file.

* Adding `assets` command to build the bundles from the command line.

* Adding a lazy registry to collect the bundles.

* Deprecating the old css,js,get_js_bundle,get_css_bundle jinja helpers.

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

* Adds a command that generate the bower.json file from the bundles.

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

* Reads from any existing bower.json file found.

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

* Fixes the absolute path on other pages.

* NOTE jQueryUI cannot be bundled as is.

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

Signed-off-by: Yoan Blanc <yoan.blanc@cern.ch>
base: require.js config in global conf

* Moves the require.js config into base.config.

Signed-off-by: Yoan Blanc <yoan.blanc@cern.ch>
assets: absolute paths in debug mode

* Fixes the absolute paths in debug mode.

* Shows the assets in legacy mode.

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

* Adds new style bundles to annotations, comments, search and tags.

Signed-off-by: Yoan Blanc <yoan.blanc@cern.ch>
travis: deactivate requirejs and al. after build

* Remove all the utilities so no bundles are made during the tests.

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

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

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

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

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

Signed-off-by: Yoan Blanc <yoan.blanc@cern.ch>
base: jquery ui extras

Signed-off-by: Yoan Blanc <yoan.blanc@cern.ch>
assets: burial of js/css jinja extension

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

Signed-off-by: Yoan Blanc <yoan.blanc@cern.ch>
base: scripts position for legacy

Signed-off-by: Yoan Blanc <yoan.blanc@cern.ch>
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>
assets: bundles without names

* Removes the name attributes of a bundle, relies on output only.

* Factors out the common folder of the assets (`gen` by default).

* Fixes some documentation issues.

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