moved promise rejection handler to bin implementation

so module-users receive the error and can (silently) handle it
process.exit on error with non-zero exit code
Merge pull request #75 from Bartvds/feature/promise_error

Moved promise to bin/ directory for better error handling