ogr plugin extent error handling

Added exception in OGR plugin for case when OGR layer does not have an extent and no custom extent is provided via the <extent> parameter.  
okay, lets stick with what you have. thanks!