Fixed: Check if global function exists in correct way
Fixed: Protocol definition in compiler was not created correct from protocol definition in the runtime
Fixed: Protocol methods is now registered in the correct place
Fixed: Copy method descriptions to an array instead of JSObject