updated publish methods to allow server to check if printer is ready
Merge branch 'master' of github.com:MakersSpark/spark-printer-firmware