rewrite GPIO as add-on class

Usage:

```
var gpio34 = new gpio.GPIO(34);

gpio34.setDirection(gpio.OUT);
gpio34.setValue(gpio.HIGH);
```