Fixing extent check for undefined extents.

Thanks @marcjansen for spotting this. To make the epsg-4326
example work, I also had to change the WMS version to 1.1.1.
Merge pull request #269 from ahocevar/wms-extent

Fixing extent check for undefined extents. r=@elemoine