Merge branch 'feature/CDB-112' into CDB-1197

* feature/CDB-112: (22 commits)
  compress cdb.js
  Reseting the custom HTML legend goes back to the selected wizard
  Updates cdb
  compress js
  Compresses js
  Uses models for the legends
  Improves custom html legend
  Allows to edit the html of the legends
  Fixes html legend pane
  Fixes html legend pane
  template
  Updates legend editor with legend fixes
  CDB-537 #resolves fixes multiple rendering of the legends
  Adds more legendeditor specs
  Fix legend editor
  Improves legend methods
  Fixes multiple legend rendering + add LegendEditor specs
  Adds legend improvements
  Adds legend items
  Adds legend panes
  ...
CDB-1197 #resolves Don't activate the legend when the user selects a new wizard and the legend is disabled
fixed CDB-1199
Ensure cdb_tablemetadata is updated when syncing a table
CDB-1196 #resolve Fix off-by-one error when checking table quota in DataImport
Merge remote-tracking branch 'origin/CDB-1196' into release/2.6.1
Merge remote-tracking branch 'origin/CDB-1197' into release/2.6.1
Merge remote-tracking branch 'origin/bug/CDB-1199' into release/2.6.1