Node mysql wrapper with promises