Merge pull request #25 from appglu/fixing-sync-without-connection

Fixing versionsForTables and changesForTables when there is no response from server
Merge pull request #26 from appglu/fixing-sync-without-connection

Merge pull request #25 from appglu/fixing-sync-without-connection