Refactored the Preferences class that it uses a field for the root node.
This is in preparation for being able to use root nodes other than
package based user root nodes.
Added the Pref name and root package capability for user preferences