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
No, I haven't. I was talking with @lnielsen-cern and he said that he will look at it later to fix it, and for now it can be like that.