requireJS v2

Using the requireJS call in the same tests file.
Same deal, if has AMD use require, otherwise fallback to immediate execution.

Perhaps it is possible to avoid the new jQuery file by playing with the `require.main.js` configs.