Multiple bugfixes around querying

Schema upgrading now in a write-locking transaction.
Sync more stable
Remove server connects back through the open websocket
Push initial data from server1 to server2 when link is made
Queries for keys correctly now
updating
moving in dan fixes

Merge branch 'openid' of github.com:sociam/indx into unstable
Merge branch 'unstable' into devtools-edge