Introduce the enable kpp checkbox preference in settings view for
advanced color analysis process options
refactor: move PaletteDataSource from "data" package to "db" package
works:
1.fix the issue that the thumb in palatte data would have an incorrect
orientation sometimes (when it is a photo taken from the camera
directly)
2.tweak the analysis() method in PaletteDataHelper to make it pick up
the original picture first then the thumb, it is the first step on the
palette data thumb logic refactor work
Refactor on PaletteData in local db, split the thumb blob data into an
independent table. This is the first step to improve the palette data
display performance in list view (and the grid view in the further)