New properties .state and .mode

Now we can call:
 * pin.mode = pingo.OUT
 *  pin.state = pingo.HIGH

and:
 * pin.mode = pingo.IN
 *  value = pin.state