Use CORS in context popup instead of jsonp
More robust check for relative urls
Merge pull request #1670 from geoadmin/gal_use_cors_ctpopup

Use CORS in context popup