Various requested changes

assert.ok -> {assert.pass, assert.fail}
Imported platform directly into blocking-native
Removed dead code since adb-blocking-native
Arg serialization for runOnPeerThread simplified
Unpack pointers using ctypes casts instead of eval
Removed unnecessary closured `this`
Exposed same function signature on all platforms
Removed redundant deferred.promise code
Moved struct allocation to the js-allocator