Add response file support to emscripten

Related to another pull request, but reimplements this in a different way.  I couldn't find a way to get the max line length in python, so just hardcoded it at 8k (which seemed like a reasonable max).