WIP [NX-416] Expose optimistic versioning to Capabilities

This has a bunch of problems... but this is as far as I've gotten ATM.