Major changes to the 2 way sync mechanism

The 2 way sync was greatly improved. The server code works fine for the
download part but still in debug for the upload part.
Merge branch 'master' of https://github.com/abeauseigle/webSqlApp