DB schema fixes

Added missing annotations for sequence generation, updating the schema
file, small refactoring.
Merge remote-tracking branch 'origin/config-schema-fix'
DB schema fixes

Added missing annotations for sequence generation, updating the schema
file, small refactoring.
Schema fixes

fk name changes and  index changes
Schema fixes, adding indexes back with hibernate annotations on
sub-class
refactorings and column transformers
Introducing the CONFIGURED as a Workflow state
SQL patch for importing configurations
Merge remote-tracking branch 'origin/introducing-configurations'

Conflicts:
	HDX-System/resources/db/2_schema.ddl