Promise wrapper for node libraries based on Q.