Added functions: createWire, deleteWire, getWireInputs, and getWireOutpu...

Added functions for wiring and unwiring entities to each other, as well as getting inputs and outputs of entities. I figured that only wiring and unwiring should require permissions, being one could see inputs and outputs of any entity with the advanced wiring tool.