pass error from sync task to client
added check for empty data on /device/data/:id
remove redundant exit
remove dayago
move checking to synctask
move checking to after sync task gets file but before it returns
Merge pull request #37 from tidepool-org/ian/error

pass error from sync task to client