moved uptime xively to xively class
new diff object, and tests for it
using new diff class