misc ungetc fixes
Added support for loading .ogg audio files using a combination of
`SDL_RWFromConstMem()` + `Mix_LoadMUS/WAV_RW()`.

`SDL_RWFromConstMem()` now returns an opaque reference that corresponds
to a Javascript-side object which retains the information passed in.
The same for `SDL_RWFromFile()` but it saves different information.

When `Mix_LoadMUS/WAV_RW()` is called, it now expects a reference to
one of those Javascript-side objects and from it, either uses a
pre-loaded Audio, or reads bytes from the file-system to make one,
or uses the bytes originally passed into `SDL_RWFromConstMem()` to
create one.

Note that with this change you can now simply embed sound files in your
app, you do not need to preload them.
update relooper comment
Updated with kripken's suggestions.
when we are calling an implemented function, call it using the signature it is implemented as, to avoid issues with LLVM casting for no reason
fix Functions.getSignature to handle non-legalized data
fix both number of arguments and return type based on implementation information, to work around silly llvm function casts
update s_x_x.test_linespecific
do not use safe heap in strptime loading of tm values - may have never been initialized
Made sure that `IMG_Load_RW` is also aware that it should receive
`SDL_RWops *` generated from `SDL_RWFromFile()`.
 - rmdir / unlink no longer follow the final symlink
 - rmdir / unlink no longer check write permission on the found object, but on its parent
 - rmdir should return EBUSY when path matches the root / cwd
 - unlinking a directory should return EPERM according to POSIX (EISDIR is a Linux convention)
Merge pull request #1388 from inolen/unlink_fixes

misc unlink / rmdir fixes
Merge pull request #1387 from amatus/push-upstream

Fixes for GNUnet compile.
Fix JS syntax error when embedding an empty file.
Expose 'lstat64' as a simple alias for 'lstat'.
fix test_freealut
Merge branch 'incoming'
clean up global Building.* changes in test runner, fixes intermittent failure in other.test_static_link
Fix indentation
Merge pull request #1389 from rfk/embed-empty-files

Fix JS syntax error when embedding an empty file.