Added debugging log to unexport pins command.
Refactor GPIO file paths, added validation to check for existance of GPIO pins (they have already been setup), added new sync disconnect.
Fox indenting error.
Added pin number to emit close event.
Fixes issue with undefined path in digital pin.
Fixes disconnect pins by making last IO calls sync and validates for existance of pin files.
Make sure the pin mode is setup even if the file already exists.
Updating unexport path to use function call.
Merge pull request #29 from hybridgroup/20-raspi-adaptor

20 raspi adaptor with GPIO support.