add library_async.js

For kripken/emscripten-fastcomp#39

hmm, about the name not sure if `SYNC`, `ASYNC` would be informative.
for `SYNC_TO_ASYNC`, I might be asking why I want to transform my sync code into async.

I'm now thinking if an option is actually necessary, if async function detection is fast enough.