Promises Refactor

I found that my project using pi-gpio cleaned up quite well with promises.  Here's a promise based flavor if interested.  I think this could go even further, and benefit by a "Pin" class.  Thanks!