Update api.lua

Fix os.queueEvent
Fix typo is redstone.getSides()
swap rs and redstone.
Add in basic rednet api
Start work on virtual peripherals