cleaned up code for selecting attributes that was problematic and made a nicer error message for mismatched attribute types
Merge branch 'target-4.4.2' of github.com:Unidata/thredds into target-4.4.2