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.
I meant, (1) to add `*` around the word `synchronous`, and to also add at the end `see emscripten_async_wget` for an asynchronous version`, so people reading this one are pointed to the other.