implement emscripten_wget

I've included a `test_wget.cpp`, but not sure how to make it a test case, due to cross domain errors.
instead of assuming content on github, just add a file locally. the test runner (`btest()`) will put your output files in a temp dir, you can just copy to it (it will be the current dir, or `self.get_dir()`).