Add ability to have tests that use functions

The main files to note are

src/test.js
src/regexes.js

I also added some tests in jquery/tests/is.js

the rest of the files were just built with grunt

You might want to rename the check or change the cc check to use a function, but this commit is mainly a proof of concept to add the ability to use a function as the test.