Re-factor the code to promise pattern.

- Get a better perf
- Code is easier to read
- Add git repo in packages.json
Remove useless index, add JSHint directs.
Remove the test.js.

This test only can on my local, remove it.
Add error handler in exec.

Just silent handle evreything when error happens.