Easily convert objects, functions and METHODs to the Q promise API