Implemented final register manipulation fuctions

Functions implemented:
- gpio_set_event_detect
- gpio_clear_event_detect
- gpio_get_pin_event
- gpio_clear_pin_event

 On branch master
 Changes to be committed:
	modified:   gpiodrive.c
	modified:   gpiodrive.h