Added pull-down and pull-up/down support to inputs

pinMode(x, INPUT_PULLUP); is now complemented with pinMode(x, INPUT_PULLDOWN); and pinMode(INPUT_PULLUPDOWN); for MX1/MX2 devices.  For other devices the option is taken as a vanilla INPUT.