Fix overview selection code to not skip lowest 2 overviews
Add automated test for pgraster plugin

Tests 16BSI band rendering with all combinations of overviews,
constraints, prescaling, preclipping, tiling