Implemented page versioning, page type IDs and page tx IDs.
Fixed in-memory DB to work with refactored storage infrastructure