machine/esp8266: add Pin Get() support
Many thanks to cnlohr for the nosdk8266 project: https://github.com/cnlohr/nosdk8266