Implementation of reference support for OrientDB storage.
Rework of return types of storage methods.
Implementation of reference support for OrientDB storage.
* Implementation of reference support for OrientDB storage.
* Added unit tests for references implementation.