[BZ 1069545] Update serialization version to touched domain objects. Removed unused queries for domain objects. Deprecate more code. Remove inadvertently introduced groovy script. Increase string size for subcategory.