Make View_Gallery::init_item() & View_Gallery::init_collection() a bit quicker.
Net results are the same, but we're a bit smarter about when to run queries.
Merge pull request #455 from shadlaws/fixes_20130711_2

Make View_Gallery::init_item() & View_Gallery::init_collection() a bit quicker.