[NaCl] Fix deadlock in input event handling
[NaCl] Remove legacy nacl_mounts usage.

Also add nacl SDK version check to ensure the SDK contains
a recent version of nacl_io.
Fix crash in lua engine when layer has no touch handler.
[NaCl] Remove missing functions from lua stdlib
Add method for calling a lua function by name with arguments.