All outstanding bugs fixed

el-pisync.js still needs to call the correct url for CHRON table
insertion