Fixed #5437 -- Added GDAL prereq check to code that requires GDAL

Added skipUnless decorator to necessary tests that required GDAL.
Added if HAS_GDAL check to prevent model from being included
without GDAL.