Add sysfs generic functions

Add support for reading /sys entries as well as exporting/unexporting GPIO pins