return promise for test helper `compile`
Merge pull request #5 from carrot/node-style-compile-helper

change compile helper return promise