Change search criteria for families (closes #3695)
+ Search if dfldid exists and doctype = c instead of usefor = N or usefor = F
Correct tree bug for ie9/10 (closes #3694)