ZMemoryManager memory permissions method modified.

applyPermissions/resetPermissions changed to support ZeroVM jail/unjail syscalls.
Removed ROData sections permissions changed.
ZMemoryManager fills allocated code memory with NOPs when run under
ZeroVM.

Test added.
Merge branch 'pnacl'