Added interrupt support, including GPIO interrupt export to userspace and blocking input read method.
Merge pull request #1 from scm6079/master

Added interrupt support