added extname to path library
Update AUTHORS file
Fix permissions set by FS.createDevice

The read and write permission bits were reversed. A test has been added to
ensure that this works.
Update test_unistd_io to use registerDevice/mkdev
Update remaining tests to use registerDevice/mkdev
sort generated functions
fix tests that check for code not changing, given the recent sorting of functions
Merge pull request #1567 from rharkeadsk/fix-device-permissions

Fix permissions set by FS.createDevice
Merge branch 'incoming' of https://github.com/kripken/emscripten into hp-beta