base: jquery-form loaded via require.js

* Changes the filters on the jquery bundle to be require.js so it can
  properly load library such as jquery-form.

* Renames legacy.js to init.js to match the naming choosen for search
  and deposit scripts.

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