Fixed Memory Consumption Issue

Listing posts in the ALL IMAGES tab consumed a huge amount of memory.
This was due to the image custom post type's declaration, being
needlessly hierarchal. This is fixed now.