Merge remote-tracking branch 'origin/improve_legend'

* origin/improve_legend:
  Using scalar range from the database
  Fixed failing test
  Using better colors for the text
  Improved the API for creating 2d texture using canvas
  Create and use high-res text
  Using sans-serif font by default
  Use bold font
Check if a file is already in mongo using full path
Merge branch 'fix-multiple-import' into next