Add support for ComputerCraft Events

Instead of pull request #9

fix: MightyPirates/OpenComputers#252
Now it wraps the peripheral correctly and returns proper values instead of null/nil.