Fix for GEOT-4228 WMS Style Legend URL is not read when the Style has an Abstract

Also added the testcases from the JIRA issue by "H R".