Adapt library to changes in favour of Promises in node-firefoxos-cli

It seems arcturus change node-firefoxos-cli to use promises, we need to adapt this library to meet the new Promises based API.