Mocha

Refactored to use requirejs; now Yavathcript can be run as a Node program or from a browser.  Also, set up mocha and wrote a first test.

Also in this PR: added two scripts compile.sh and test.sh, which do just what they say.