Another massive update that now supports all 3 methods

To change a value you need to build a JSON payload of the following type:

action: {
  name: "open",
  id: 1
}

name can be either open or close. Any other action name will be ignored.

Once the action has been carried out, gpio will send an update of all the Pin's status.

If you only want to receive a status update from GPIO, you can do so by submitting this action with a dummy action name i.e "list"