Fix TileLayer.AGSDynamic to request tiles in correct spatial reference

The TileLayer.AGSDynamic layer did not include bboxSr and imageSr. This made it not work correctly with map services that were not running in Web Mercator.