Fixes issues with caching version information for both offline and online mode. Each mode had its own bugs. Online mode had multiple bugs actually (!).
Bugs in offline mode:
We only cached version info is fallbackOnDefaultVersions was true. We should always cache it. However, we need to be a little more careful because the version title might have fallen back on a default version.
Bugs in online mode:
dont cache version info from version api as there's no need
use indexTitle instead of non-existant title
add 'language' attribute to version objects which is needed to build cache key
Fixes issues with caching version information for both offline and online mode. Each mode had its own bugs. Online mode had multiple bugs actually (!).
Bugs in offline mode:
Bugs in online mode: