Add Ryan Sturgell to AUTHORS
Extract helper functions from main link loop.

This enables future changes which will re-scan archives for objects
(either grouped with -Wl,--start-group, -Wl,--end-group or some new
emcc specific flag).

This is mostly moving lines around and adding some comments. The only
functional change is that if you specify the same archive multiple times
(a workaround for the lack of grouping flags), we will now only extract
it once instead of multiple times. But it will still be scanned multiple
times.
Track original flag positions in emcc.

Source files, libs, and linker flags all need to be separately
processed.  This allows them to be correctly shuffled back together for
further link processing.
Add support for archive groups.

emcc now understands -Wl,--start-group, -Wl,--end-group to group static
libraries. Static libraries in a group need not be specified in
dependent to dependency order and can have circular dependencies.
Make scroll wheel work with SDL
Bring back old style SDL scroll events represented as mouse buttons; Support newer 'wheel' event to support Chrome; Support vertical as well as horizontal deltas.
remove test_sdl_audio_quickload which has been broken for a very long time
Optimize ccall and cwrap
Remove useless spaces
Fix typo: 'litterally' -> 'literally'

In French, it's spelled 'littéralement', with 2 't' ;)
Code conventions and sign fix according to pull request feedback
Bump version
Remove the hardcoded alert message on WebGL context loss event in library_browser.js, since it prevents applications from benignly handling WebGL context loss events by reloading GL assets from disk.
Add new function emscripten_is_webgl_context_lost() that allows code to directly query to confirm the WebGL context loss status.
fix file argument changing before callback in async_wget; fixes #2349
warn on bad exports, fixes #2338
Merge branch 'sdl_mouse_wheel' of github.com:jechter/emscripten into incoming

Conflicts:
	emscripten-version.txt
commented closure in benchmarks
testcases for issue #2350
fix progress events for non mozilla browsers

Progress events didn't work for me in Chrome or IE. This change fixes it for me.