Do not output queryable attribute for layers without names

Fixes http://tracker.deegree.org/deegree-services/ticket/368