fix($cordovaPrinter): add promises

fixed #218