Refactors Pin class to work with node eventemitter.
Merge #93 r=@tcr: Refactors Pin class to work with node eventemitter.