refactor on K-means processor to remove the list and to use the arrays
directly instead
Refactor on the k-means algorithm to remove all color related handling
logic from the core k-mean process. And it also improve the performance
a little bit (around 15%)
trial: change the color range from RGB to HSV
Further refactor on K-means processor and ClusterPoints, to make it able
to change the input values based on the indicated data convert type
1. Add a new helper class PaletteDataHelper
2. Deprive the PaletteData analysis logic from the class PaletteData to
make the PaletteData is just a pure data structure
3. Move the progressDialog into the main activity