Added interrupt support with enhanced & commented example

Added interrupt support, including GPIO interrupt export to userspace and blocking input read method.  Commented example program and included simple example efficient wait for input method.