Refractor Grid Based Fragments

A lot of the code in GalleryFragment and RedditFragment was the same. So
they are now based on BaseGridFragment which houses all of the common
code.