Updating shim to always shim if no jquery

Reworked shim so that it always uses the shim when jquery not present. jQuery is evaluated from the required library rather than window for AMD builds. Fixes issue with shade not closing on some builds.

Status: **Ready to merge**

Reviewers: @tedtate @kpeatt @donnielrt 

## Changes
- changed the shim so that it loads always when jquery not present

## How to test-drive this PR
- upgrade a plugin to point to this branch
- `grunt test` the plugin
- upgrade a project where shade wasn't closing, and test