Bug fixing
Merge commit 'af81c5fb1ac003e7554b2285a90daf9803814d12' into streams
Bug corrected on iPad Example.
Offline mode bug fixing
Merge pull request #12 from pryv/streams

Merge from streams by Nenad, various bug fixed.