updated db version to 1.1.2

pulled device ping out to its own cron.php service, and setup a function so only 1 connected user acts as master which runs the cron.  if they leave, then another connected user picks up as cron master.