Cleaned up and moved grid/list display logic into islandora, since its now used in several modules.
merged change