Use the latest version of RequireJS

Updated the package JSON to use the latest version of RequireJS (I need features that were introduced in 2.1.10).

Using the semver `~` to ensure that patch releases are pulled in automatically instead of being stuck on a specific version like it was before.

This has been tested on a complex project without any problems and should be quite safe to merge.