LDEV-4180: Make DB patches produce up-to-date structure during build instead of applying multiple patches. Get rid of unnecessary tables and keys. Modify boolean columns to tinyint(1) Simplify patches where possible.
LDEV-4181: When sequences are imported if maxRating or ratingStyle is null, need to set them to appropriate values. Will happen when a sequence is imported from a server that did not have these fields.
LDEV-3735, LDEV-3674: Rewrite LD import using JDK XML tools. Remove cglib library which does not seem to be used by XStream anymore. Remove Axis and wsdl4j libraries, and several Java classes made obsolete by Flash removal. Fix LD import in FLA and several Tools.
LDEV-3727 skip exporting RatingCriteria's toolContentId field. Also explicitly reset it to the new value on LD import (instead of relying on Hibernate to do it)
LDEV-3727 skip exporting RatingCriteria's toolContentId field. Also explicitly reset it to the new value on LD import (instead of relying on Hibernate to do it)
LDEV-3660: Remove export potfolio resources: Java classes, JPS, DB entries and labels. Remove localLinkPath attribute from CSS tag as it was only used for export portfolio.