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
@kneczaj have you tried the integration with PhantomJS?