update tests
Set version back to 1.3 for alpha release
[managed] useragent test ignores minor version

Since minor version is changed during build, keep the check only on
major version which changes less frequently
Merge pull request #343 from phvannor/offline

[iOS] Offline version and test cases
[offline][managed][client] Do not push on purge if table is dirty
[client][managed][offline] Improved handling for timeout errors for insert and update operation