Update pachube example to xively and handle return code

Supercedes https://github.com/jcw/ethercard/pull/104