Fixes #7  now accepts callback and error callback
Merge pull request #12 from amatiasq/#2-create-simple-promise

Fixes #7  now accepts callback and error callback