made queryLabel more generic, to be able to get more kinds of labels for any type of resources. Fixes #10
Merge branch 'master' of https://github.com/NatLibFi/Skosmos