Gallery2: Refactorize Pools class

Move Pools to other package to avoid the conflict name with the
frameworks base one, which has a different implementation.

Change-Id: Idbe79773232a957a1ef230326a142e126eebb8b4
Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
Merge branch 'jb43-cm' into HEAD

Full merger

Conflicts:
	res/drawable-hdpi/btn_default_normal_holo_dark.9.png
	res/drawable-hdpi/btn_default_pressed_holo_dark.9.png
	res/drawable-hdpi/camera_crop_holo.png
	res/drawable-hdpi/filtershow_button_colors_curve.png
	res/drawable-hdpi/focus_box.9.png
	res/drawable-hdpi/frame_overlay_gallery_ptp.png
	res/drawable-hdpi/ic_lockscreen_chevron_up.png
	res/drawable-hdpi/ic_manage_pin.png
	res/drawable-hdpi/ic_menu_cancel_holo_light.png
	res/drawable-hdpi/ic_menu_save_holo_light.png
	res/drawable-hdpi/ic_pan_thumb.9.png
	res/drawable-hdpi/photoeditor_tab_selected_focused_holo.9.png
	res/drawable-hdpi/photoeditor_tab_selected_holo.9.png
	res/drawable-hdpi/photoeditor_tab_selected_pressed_holo.9.png
	res/drawable-hdpi/photoeditor_tab_unselected_focused_holo.9.png
	res/drawable-hdpi/photoeditor_tab_unselected_pressed_holo.9.png
	res/drawable-hdpi/popup_full_dark.9.png
	res/drawable-hdpi/progress_bg_holo_dark.9.png
	res/drawable-hdpi/progress_primary_holo_dark.9.png
	res/drawable-hdpi/progress_secondary_holo_dark.9.png
	res/drawable-mdpi/btn_default_normal_holo_dark.9.png
	res/drawable-mdpi/btn_default_pressed_holo_dark.9.png
	res/drawable-mdpi/camera_crop_holo.png
	res/drawable-mdpi/filtershow_button_colors_curve.png
	res/drawable-mdpi/focus_box.9.png
	res/drawable-mdpi/frame_overlay_gallery_ptp.png
	res/drawable-mdpi/ic_lockscreen_chevron_up.png
	res/drawable-mdpi/ic_manage_pin.png
	res/drawable-mdpi/ic_menu_cancel_holo_light.png
	res/drawable-mdpi/ic_menu_save_holo_light.png
	res/drawable-mdpi/ic_pan_thumb.9.png
	res/drawable-mdpi/photoeditor_tab_selected_focused_holo.9.png
	res/drawable-mdpi/photoeditor_tab_selected_holo.9.png
	res/drawable-mdpi/photoeditor_tab_selected_pressed_holo.9.png
	res/drawable-mdpi/photoeditor_tab_unselected_focused_holo.9.png
	res/drawable-mdpi/photoeditor_tab_unselected_pressed_holo.9.png
	res/drawable-mdpi/popup_full_dark.9.png
	res/drawable-mdpi/progress_bg_holo_dark.9.png
	res/drawable-mdpi/progress_primary_holo_dark.9.png
	res/drawable-mdpi/progress_secondary_holo_dark.9.png
	res/drawable-sw600dp/photoeditor_scale_seekbar_color.png
	res/drawable-sw600dp/photoeditor_scale_seekbar_generic.png
	res/drawable-sw600dp/photoeditor_scale_seekbar_light.png
	res/drawable-sw600dp/photoeditor_scale_seekbar_shadow.png
	res/drawable-xhdpi/camera_crop_holo.png
	res/drawable-xhdpi/filtershow_button_colors_curve.png
	res/drawable-xhdpi/frame_overlay_gallery_ptp.png
	res/drawable-xhdpi/ic_pan_thumb.9.png
	res/drawable/filtershow_background.png
	res/drawable/filtershow_border_film.png
	res/drawable/filtershow_button_border.png
	res/drawable/filtershow_button_colors_contrast.png
	res/drawable/filtershow_button_colors_curve.png
	res/drawable/filtershow_button_colors_sharpen.png
	res/drawable/filtershow_button_colors_vignette.png
	res/drawable/filtershow_button_current.png
	res/drawable/filtershow_button_fx.png
	res/drawable/filtershow_button_operations.png
	res/drawable/filtershow_button_origin.png
	res/drawable/filtershow_button_settings.png
	res/drawable/filtershow_button_show_original.png
	res/drawable/photoeditor_actionbar_translucent.9.png
	res/drawable/photoeditor_actionbar_translucent_bottom.9.png
	res/drawable/photoeditor_artistic.png
	res/drawable/photoeditor_effect_autofix.png
	res/drawable/photoeditor_effect_crop.png
	res/drawable/photoeditor_effect_crossprocess.png
	res/drawable/photoeditor_effect_documentary.png
	res/drawable/photoeditor_effect_doodle.png
	res/drawable/photoeditor_effect_duotone.png
	res/drawable/photoeditor_effect_facelift.png
	res/drawable/photoeditor_effect_facetan.png
	res/drawable/photoeditor_effect_filllight.png
	res/drawable/photoeditor_effect_fisheye.png
	res/drawable/photoeditor_effect_flip.png
	res/drawable/photoeditor_effect_grain.png
	res/drawable/photoeditor_effect_grayscale.png
	res/drawable/photoeditor_effect_highlight.png
	res/drawable/photoeditor_effect_lomoish.png
	res/drawable/photoeditor_effect_negative.png
	res/drawable/photoeditor_effect_posterize.png
	res/drawable/photoeditor_effect_rotate.png
	res/drawable/photoeditor_effect_saturation.png
	res/drawable/photoeditor_effect_sepia.png
	res/drawable/photoeditor_effect_shadow.png
	res/drawable/photoeditor_effect_sharpen.png
	res/drawable/photoeditor_effect_straighten.png
	res/drawable/photoeditor_effect_temperature.png
	res/drawable/photoeditor_effect_tint.png
	res/drawable/photoeditor_effect_vignette.png
	res/drawable/photoeditor_exposure.png
	res/drawable/photoeditor_fix.png
	res/drawable/photoeditor_redo.png
	res/drawable/photoeditor_scale_seekbar_color.png
	res/drawable/photoeditor_scale_seekbar_generic.png
	res/drawable/photoeditor_scale_seekbar_light.png
	res/drawable/photoeditor_seekbar_thumb.png
	res/drawable/photoeditor_undo.png
	res/mipmap-xxhdpi/ic_launcher_gallery.png
	res/values-af/filtershow_strings.xml
	res/values-am/filtershow_strings.xml
	res/values-ar/filtershow_strings.xml
	res/values-be/filtershow_strings.xml
	res/values-bg/filtershow_strings.xml
	res/values-ca/filtershow_strings.xml
	res/values-cs/filtershow_strings.xml
	res/values-da/filtershow_strings.xml
	res/values-de/filtershow_strings.xml
	res/values-el/filtershow_strings.xml
	res/values-en-rGB/filtershow_strings.xml
	res/values-es-rUS/filtershow_strings.xml
	res/values-es/filtershow_strings.xml
	res/values-et/filtershow_strings.xml
	res/values-fa/filtershow_strings.xml
	res/values-fi/filtershow_strings.xml
	res/values-fr/filtershow_strings.xml
	res/values-hi/filtershow_strings.xml
	res/values-hr/filtershow_strings.xml
	res/values-hu/filtershow_strings.xml
	res/values-in/filtershow_strings.xml
	res/values-it/filtershow_strings.xml
	res/values-iw/filtershow_strings.xml
	res/values-ja/filtershow_strings.xml
	res/values-ko/filtershow_strings.xml
	res/values-lt/filtershow_strings.xml
	res/values-lv/filtershow_strings.xml
	res/values-ms/filtershow_strings.xml
	res/values-nb/filtershow_strings.xml
	res/values-nl/filtershow_strings.xml
	res/values-pl/filtershow_strings.xml
	res/values-pt-rPT/filtershow_strings.xml
	res/values-pt/filtershow_strings.xml
	res/values-ro/filtershow_strings.xml
	res/values-ru/filtershow_strings.xml
	res/values-sk/filtershow_strings.xml
	res/values-sl/filtershow_strings.xml
	res/values-sr/filtershow_strings.xml
	res/values-sv/filtershow_strings.xml
	res/values-sw/filtershow_strings.xml
	res/values-th/filtershow_strings.xml
	res/values-tl/filtershow_strings.xml
	res/values-tr/filtershow_strings.xml
	res/values-uk/filtershow_strings.xml
	res/values-vi/filtershow_strings.xml
	res/values-zh-rCN/filtershow_strings.xml
	res/values-zh-rTW/filtershow_strings.xml
	res/values-zu/filtershow_strings.xml
	res/values/filtershow_strings.xml

Change-Id: I9af78e4caf71c4e07eb4d4f3412275ad9663c27c