Check for jqDeferred.notify

Not available in jQuery <1.7
fixes #120
Merge branch 'master' into gh-pages
build pkgd v3.1.2