Fixed makefile for new version of buildroot
Changed logic how gpiod detects a change
Added some command line options and syslog