title: realm, check schema version
body: <p>I'm using Realm for Android, I'm wondering how to get the current schema version. In their Migration example, the version is incremented then saved, but I need to check the version before doing any upgrade.
  Thanks.</p>