Fixes in pread()

The bug occurs when pread() doesn't return 0 when asked to read an
offset beyond its buffer.

This behavior is explicitly documented at:
http://pubs.opengroup.org/onlinepubs/000095399/functions/read.html

> If the starting position is at or after the end-of-file, 0
> shall be returned
Fix #1623: Add missing checks for EXCEPTION_CATCHING_WHITELIST.
Add functions em_link_js_library(), em_link_pre_js() and em_link_post_js() to support linking .js files to executables, while doing dependency tracking on filestamp modifications. For more info, see https://groups.google.com/forum/#!topic/emscripten-discuss/uRbTIB62V7s .
Remove code duplication on CMake link macros.
Added to the test_files test to ensure the pread() functionality.
Removed old test case and put a test case in a more appropriate area.

tests/unistd/io.*

---

Revert "Added to the test_files test to ensure the pread() functionality."

This reverts commit 2ed2fb5df392251a0957543b920272b9b2ae7908.
Merge pull request #1628 from michaeljbishop/pread-fix2

Fixes in pread()
Merge pull request #1611 from juj/cmake_link_js

Cmake link js
Add myself to AUTHORS
handle memory initializer when there are deps added during preRun
Merge pull request #1630 from ngld/fix-resume-exception

Fix EXCEPTION_CATCHING_WHITELIST (#1623)
Fix #1632: Correctly handle the optional 0x prefix for hex numbers (%x/%X).
Add a test and myself to AUTHORS.
allow js_optimizer.py to run standalone
enable extra_info for standalone js_optimizer.py
generate valid code for segfaulting loads, not assignless aborts
fix asm coercion in store abort
de-frameworkify analyzer
remove unused type jsifying code
deframeworkify jsifier:globalVariable