REIVEW: [NX-518] Orient database manager

This PR addresses the following issues:

https://issues.sonatype.org/browse/NX-518
https://issues.sonatype.org/browse/NX-519
https://issues.sonatype.org/browse/NX-542
Following up on the discussion Jamie started about obfuscation, we should also check (either here or in the `CapabilityStorageItemEntityAdapter`) that the decoded ORID points to a record with the expected class: `CapabilityStorageItemEntityAdapter.DB_CLASS`.