Merge pull request #1 from kmpm/master

Support promises or single callback in node style.