Rename jsstana.pattern to jsstana.match, make it autocurried