rewrite as javascript only

To increase speed on API development it is a good idea to rewrite the GPIO module in pure JavaScript. Later on we still can put this into some add-on (and we also must regarding polling) but this takes to much time when practicing on API design.