hw_mainline.js: Add pullup/pulldown support
hw_mainline.js: Add pullup/pulldown support

Should fix https://github.com/jadonk/bonescript/issues/146

jadonk/bonescript,jadonk/bonescript,beagleboard/bonescript,beagleboard/bonescript