Add MyDebug.LOG switch into data layer
Add MyDebug.LOG switch into db and algorithm layer
Introduce the TouchImageView class, and prepare for the further refactor
work to add an independent edit view for palette data.
Add "Edit" option (do nothing for now) for PaletteItem
Introduce the Palette Edit View (UI only)
hook up the palette edit view with the image uri
Refactor:
simplify the capture view (as most of the functionalities have been
moved into palette edit view), and also simplify the main activity to
remove the redundant code

Note: there are quite a few functionalities are still under the
development, like share/export.
Refactor:
remove "thumb" properties from PaletteData
hook up the Edit option with the palette edit view
fix the flash issue when update the palette list
fix the issue that we will kick off the color analysis process
incorrectly after rotating the screen sometimes