jasmine: adaptation to requirejs

Makes jasmine compatible with requirejs. I will look if we can reuse boot.js from jasmine. It looks like copy-pasted with small changes only.

Can you look at this @lnielsen-cern? What to do with es5-shim? Should it be in the bundle?

Fixes: https://github.com/inveniosoftware/invenio/issues/2467
Ok. In that case I think we can merge it. Can you please ping me for synchronization before you rebase and re-push? Thanks