Cleaned up and moved grid/list display logic into islandora, since its n...

...ow used in several modules.