WIP - Add versioning on both Android and iOS. Asynchronous delete when updating version.

Refactor mainly on Android.
when sharedPreferences == null we would probably prefer to "fail" - throw something and whatever...