Add query for classes bound to a template

If RDFauthor template mode is active we check if the selected class is bound to a
template resource and load exactly the properties specified there. If we do not find
a suitable template we fall back to normal behaviour of RDFauthor.