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