Fixed some minor errors

Fixed errors in:

* classes in wrong packages
* wrong method modifiers
* sintaxis errors in XML
* imports
This change fixed error in this line:

https://github.com/Unidata/thredds/blob/4.5.4/ui/src/main/java/ucar/nc2/ui/Ncdumpx.java#L362