Changed gpio_fd_open to take a 2nd argument that specifies RDONLY, etc.
Added togglegpio.js
Updated