Refactor with fragments: handle panel actions in GalleryActionsFragment and GalleryActivity.
Refactor with fragments: Add gallery action fragment for edit mode.
Refactor with fragments: Return from edit mode on GalleryActivity.
Move action helper classes to new package.