Added a basic structure for model database sync form

Added some conditional compilation flag to deactivate some features for
demo version.

Minor fix on DatabaseImportHelper to accept a DatabaseModel instance
instead of ModelWidget.

Minor adjustments on deployment scripts.